remove autotag plugin and install html lsp
This commit is contained in:
		
							parent
							
								
									064e55fe56
								
							
						
					
					
						commit
						3fe4b8521d
					
				
							
								
								
									
										7
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										7
									
								
								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 = { | ||||
|  |  | |||
|  | @ -6,5 +6,6 @@ vim.opt.relativenumber = true | |||
| vim.g.have_nerd_font = true | ||||
| 
 | ||||
| require 'custom.mappings' | ||||
| require 'custom.tabulation' | ||||
| 
 | ||||
| return {} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue