diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index eca3b7e..7779e9c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -61,7 +61,7 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', 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,