Compare commits
2 commits
743e5df1b4
...
92e6a5dc1f
| Author | SHA1 | Date | |
|---|---|---|---|
| 92e6a5dc1f | |||
| ca3b32d261 |
3 changed files with 10 additions and 10 deletions
|
|
@ -31,8 +31,7 @@ cmp.setup {
|
|||
sources = {
|
||||
{ name = "luasnip" },
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "path" },
|
||||
{ name = "buffer" },
|
||||
{ name = "path" }
|
||||
},
|
||||
mapping = {
|
||||
["<C-n>"] = cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Insert },
|
||||
|
|
|
|||
|
|
@ -63,12 +63,6 @@ local servers = {
|
|||
},
|
||||
},
|
||||
},
|
||||
eslint = {
|
||||
filetypes = { "html", "js", "ts" },
|
||||
},
|
||||
html = {
|
||||
filetypes = { "html", "js", "ts" },
|
||||
},
|
||||
clangd = {
|
||||
filetypes = { "c", "cpp" },
|
||||
cmd = {
|
||||
|
|
@ -76,6 +70,15 @@ 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)
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ require 'nvim-treesitter.configs'.setup {
|
|||
"vim",
|
||||
"vimdoc",
|
||||
"query",
|
||||
"elixir",
|
||||
"heex",
|
||||
"javascript",
|
||||
"html",
|
||||
"go",
|
||||
|
|
|
|||
Loading…
Reference in a new issue