rename tsserver to ts_ls

This commit is contained in:
2024-10-09 22:23:24 +03:00
parent b10e7d85eb
commit b1a0742ffa

View File

@@ -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