Skip to content

Commit

Permalink
fix(nvim): deprecated tsserver
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Oct 4, 2024
1 parent 70526fe commit 853274a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/nvim/lua/language/typescript.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local lsp = require('lib.lsp')

lsp.setup('tsserver')
lsp.setup('ts_ls')
.need_executable('typescript-language-server')
.root { 'package.json', 'tsconfig.json', 'jsconfig.json' }
2 changes: 1 addition & 1 deletion configs/nvim/lua/plugin/autocomplete/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ registry.install {

mason_lsp.setup {
ensure_installed = {
'bashls', 'emmet_ls', 'eslint', 'graphql', 'lua_ls', 'pyright', 'tsserver', 'vimls', 'yamlls'
'bashls', 'emmet_ls', 'eslint', 'graphql', 'lua_ls', 'pyright', 'ts_ls', 'vimls', 'yamlls'
},
handlers = { handler }
}
Expand Down

0 comments on commit 853274a

Please sign in to comment.