Compare commits

..

1 commit

Author SHA1 Message Date
743e5df1b4 Add eslint and html LSP's 2026-03-26 22:26:44 +03:00
3 changed files with 10 additions and 10 deletions

View file

@ -31,7 +31,8 @@ cmp.setup {
sources = {
{ name = "luasnip" },
{ name = "nvim_lsp" },
{ name = "path" }
{ name = "path" },
{ name = "buffer" },
},
mapping = {
["<C-n>"] = cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Insert },

View file

@ -63,6 +63,12 @@ local servers = {
},
},
},
eslint = {
filetypes = { "html", "js", "ts" },
},
html = {
filetypes = { "html", "js", "ts" },
},
clangd = {
filetypes = { "c", "cpp" },
cmd = {
@ -70,15 +76,6 @@ local servers = {
"--offset-encoding=utf-16",
},
},
html = {
filetypes = { "html", "gohtml" },
},
eslint = {
filetypes = { "javascript", "typescript", "html", "gohtml" },
},
ts_ls = {
filetypes = { "javascript", "typescript" },
},
}
local servers_to_install = vim.tbl_filter(function(key)

View file

@ -5,6 +5,8 @@ require 'nvim-treesitter.configs'.setup {
"vim",
"vimdoc",
"query",
"elixir",
"heex",
"javascript",
"html",
"go",