init.vim: tsserver
This commit is contained in:
parent
2642c9dc40
commit
74c1739c23
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ local on_attach = function(client, bufnr)
|
|||
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
||||
end
|
||||
|
||||
local servers = { 'zls', 'gopls' }
|
||||
local servers = { 'zls', 'gopls', 'tsserver' }
|
||||
for _, lsp in ipairs(servers) do
|
||||
nvim_lsp[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
|
|
Loading…
Reference in a new issue