added more LSP Servers to neovim

This commit is contained in:
Salar Rahmanian 2021-08-04 22:37:43 -07:00
parent d1cebc7e24
commit 42b944eeb4
2 changed files with 13 additions and 1 deletions

View file

@ -312,7 +312,7 @@ _G.load_config = function()
end
-- Enable the following language servers
local servers = { 'jdtls', 'pyright', 'rnix', 'sourcekit' }
local servers = { 'html', 'jdtls', 'jsonls', 'pyright', 'rnix', 'sourcekit', 'tsserver', 'yamlls' }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { on_attach = on_attach }
end