Clean up nvim LSP config.

Leave in only the server we're currently using.
This commit is contained in:
Érico Nogueira 2022-01-04 04:06:54 -03:00
parent b3ac17d3db
commit eec6bad945
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ end
-- Use a loop to conveniently both setup defined servers
-- and map buffer local keybindings when the language server attaches
-- rust_analyzer
local servers = { "pyright", "tsserver", "clangd" }
local servers = { "clangd" }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { on_attach = on_attach }
end