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 = {
|
sources = {
|
||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "path" },
|
{ name = "path" }
|
||||||
{ name = "buffer" },
|
|
||||||
},
|
},
|
||||||
mapping = {
|
mapping = {
|
||||||
["<C-n>"] = cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Insert },
|
["<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 = {
|
clangd = {
|
||||||
filetypes = { "c", "cpp" },
|
filetypes = { "c", "cpp" },
|
||||||
cmd = {
|
cmd = {
|
||||||
|
|
@ -76,6 +70,15 @@ local servers = {
|
||||||
"--offset-encoding=utf-16",
|
"--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)
|
local servers_to_install = vim.tbl_filter(function(key)
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ require 'nvim-treesitter.configs'.setup {
|
||||||
"vim",
|
"vim",
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
"query",
|
"query",
|
||||||
"elixir",
|
|
||||||
"heex",
|
|
||||||
"javascript",
|
"javascript",
|
||||||
"html",
|
"html",
|
||||||
"go",
|
"go",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue