From 3fe4b8521d82a1a1acd6631b3770c9d20732e825 Mon Sep 17 00:00:00 2001 From: schistos Date: Tue, 9 Jul 2024 13:52:30 +0300 Subject: [PATCH] remove autotag plugin and install html lsp --- init.lua | 7 ++++--- lua/custom/plugins/init.lua | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 55b0f727..463eefeb 100644 --- a/init.lua +++ b/init.lua @@ -327,7 +327,6 @@ require('lazy').setup({ -- Useful for getting pretty icons, but requires a Nerd Font. { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font }, { 'ThePrimeagen/harpoon' }, - { 'windwp/nvim-ts-autotag' }, }, config = function() -- Telescope is a fuzzy finder that comes with a lot of different things that @@ -579,6 +578,8 @@ require('lazy').setup({ -- -- But for many setups, the LSP (`tsserver`) will work just fine tsserver = {}, + html = {}, + cssls = {}, clangd = {}, lua_ls = { -- cmd = {...}, @@ -786,7 +787,7 @@ require('lazy').setup({ -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + vim.cmd.colorscheme 'tokyonight-storm' -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' @@ -837,7 +838,7 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, + ensure_installed = { 'bash', 'c', 'diff', 'html', 'css', 'javascript', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, -- Autoinstall languages that are not installed auto_install = true, highlight = { diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 7b52925c..f6eac975 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -6,5 +6,6 @@ vim.opt.relativenumber = true vim.g.have_nerd_font = true require 'custom.mappings' +require 'custom.tabulation' return {}