remove autotag plugin and install html lsp

This commit is contained in:
schistos 2024-07-09 13:52:30 +03:00
parent 064e55fe56
commit 3fe4b8521d
2 changed files with 5 additions and 3 deletions

View File

@ -327,7 +327,6 @@ require('lazy').setup({
-- Useful for getting pretty icons, but requires a Nerd Font. -- Useful for getting pretty icons, but requires a Nerd Font.
{ 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font }, { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },
{ 'ThePrimeagen/harpoon' }, { 'ThePrimeagen/harpoon' },
{ 'windwp/nvim-ts-autotag' },
}, },
config = function() config = function()
-- Telescope is a fuzzy finder that comes with a lot of different things that -- 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 -- But for many setups, the LSP (`tsserver`) will work just fine
tsserver = {}, tsserver = {},
html = {},
cssls = {},
clangd = {}, clangd = {},
lua_ls = { lua_ls = {
-- cmd = {...}, -- cmd = {...},
@ -786,7 +787,7 @@ require('lazy').setup({
-- Load the colorscheme here. -- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load -- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. -- 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: -- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none' vim.cmd.hi 'Comment gui=none'
@ -837,7 +838,7 @@ require('lazy').setup({
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = ':TSUpdate',
opts = { 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 -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {

View File

@ -6,5 +6,6 @@ vim.opt.relativenumber = true
vim.g.have_nerd_font = true vim.g.have_nerd_font = true
require 'custom.mappings' require 'custom.mappings'
require 'custom.tabulation'
return {} return {}