nvim: lsp: Enable typescript language server

Need it for some work stuff :(.
This commit is contained in:
Sanchayan Maity 2021-03-10 18:45:26 +05:30
parent b6aae8d570
commit e8ef3a4ded

View file

@ -111,7 +111,7 @@ local on_attach = function(client, bufnr)
} }
end end
local servers = { 'hls', 'rust_analyzer', 'pyls' } local servers = { 'hls', 'rust_analyzer', 'pyls', 'tsserver' }
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,