Skip to content

Commit b16f43e

Browse files
authored
Merge pull request #3 from nvim-lua/master
feat: update references of tsserver to ts_ls (nvim-lua#1131)
2 parents 9d39937 + 7201dc4 commit b16f43e

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
@@ -674,8 +674,8 @@ require('lazy').setup({
674674
-- Some languages (like typescript) have entire language plugins that can be useful:
675675
-- https://github.com/pmizio/typescript-tools.nvim
676676
--
677-
-- But for many setups, the LSP (`tsserver`) will work just fine
678-
-- tsserver = {},
677+
-- But for many setups, the LSP (`ts_ls`) will work just fine
678+
-- ts_ls = {},
679679
--
680680

681681
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
@@ -809,7 +809,7 @@ require('lazy').setup({
809809
local server = servers[server_name] or {}
810810
-- This handles overriding only values explicitly passed
811811
-- by the server configuration above. Useful when disabling
812-
-- certain features of an LSP (for example, turning off formatting for tsserver)
812+
-- certain features of an LSP (for example, turning off formatting for ts_ls)
813813
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
814814
require('lspconfig')[server_name].setup(server)
815815
end,

0 commit comments

Comments
 (0)