Skip to content

Commit 7f1fbc8

Browse files
Chevenikomonk3yd
authored andcommitted
feat: update references of tsserver to ts_ls (nvim-lua#1131)
1 parent 5dafbd8 commit 7f1fbc8

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
@@ -693,8 +693,8 @@ require('lazy').setup({
693693
-- Some languages (like typescript) have entire language plugins that can be useful:
694694
-- https://github.com/pmizio/typescript-tools.nvim
695695
--
696-
-- But for many setups, the LSP (`tsserver`) will work just fine
697-
-- tsserver = {},
696+
-- But for many setups, the LSP (`ts_ls`) will work just fine
697+
-- ts_ls = {},
698698
--
699699

700700
lua_ls = {
@@ -735,7 +735,7 @@ require('lazy').setup({
735735
local server = servers[server_name] or {}
736736
-- This handles overriding only values explicitly passed
737737
-- by the server configuration above. Useful when disabling
738-
-- certain features of an LSP (for example, turning off formatting for tsserver)
738+
-- certain features of an LSP (for example, turning off formatting for ts_ls)
739739
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
740740
require('lspconfig')[server_name].setup(server)
741741
end,

0 commit comments

Comments
 (0)