From 74c1739c23865adb481457b285842e75d9ada5b0 Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 17 Nov 2021 12:13:07 -0300 Subject: [PATCH] init.vim: tsserver --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,