Skip to content

Commit 24cb2e1

Browse files
Chevenikomynever
authored andcommitted
feat: update references of tsserver to ts_ls (nvim-lua#1131)
1 parent 08e8a1a commit 24cb2e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ require('lazy').setup({
615615
-- Some languages (like typescript) have entire language plugins that can be useful:
616616
-- https://github.com/pmizio/typescript-tools.nvim
617617
--
618-
-- But for many setups, the LSP (`tsserver`) will work just fine
619-
-- tsserver = {},
618+
-- But for many setups, the LSP (`ts_ls`) will work just fine
619+
-- ts_ls = {},
620620
--
621621

622622
lua_ls = {
@@ -683,7 +683,7 @@ require('lazy').setup({
683683
local server = servers[server_name] or {}
684684
-- This handles overriding only values explicitly passed
685685
-- by the server configuration above. Useful when disabling
686-
-- certain features of an LSP (for example, turning off formatting for tsserver)
686+
-- certain features of an LSP (for example, turning off formatting for ts_ls)
687687
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
688688
require('lspconfig')[server_name].setup(server)
689689
end,

0 commit comments

Comments
 (0)