diff --git a/lua/crentist/lazy/lsp.lua b/lua/crentist/lazy/lsp.lua index dc413e7..500b50f 100644 --- a/lua/crentist/lazy/lsp.lua +++ b/lua/crentist/lazy/lsp.lua @@ -31,7 +31,7 @@ return { -- Replace the language servers listed here -- with the ones you want to install ensure_installed = { - 'tsserver', + 'ts_ls', 'lua_ls', 'gopls', 'pylsp', @@ -43,9 +43,6 @@ return { }, handlers = { function(server_name) - if server_name == 'tsserver' then - server_name = 'ts_ls' - end local capabilities = require('cmp_nvim_lsp').default_capabilities() require('lspconfig')[server_name].setup({ capabilities = capabilities