Feat: add other languages

This commit is contained in:
Bertrand Benjamin 2022-08-20 05:56:58 +02:00
parent a3d16cbff2
commit 46a53b7c38
1 changed files with 12 additions and 2 deletions

View File

@ -56,7 +56,17 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and
-- 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
nvim_lsp[lsp].setup {
on_attach = on_attach,