Feat: add other languages
This commit is contained in:
parent
a3d16cbff2
commit
46a53b7c38
@ -56,7 +56,17 @@ end
|
|||||||
|
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- map buffer local keybindings when the language server attaches
|
||||||
local servers = { "texlab", "pyright", "vuels", "tsserver", "html" }
|
local servers = {
|
||||||
|
"texlab",
|
||||||
|
"pyright",
|
||||||
|
"vuels",
|
||||||
|
"tsserver",
|
||||||
|
"html",
|
||||||
|
"sumneko_lua",
|
||||||
|
"ansiblels",
|
||||||
|
"arduino_language_server",
|
||||||
|
"clangd",
|
||||||
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
Loading…
Reference in New Issue
Block a user