Skip to content

Commit

Permalink
Use ts_ls instead of tsserver
Browse files Browse the repository at this point in the history
  • Loading branch information
fortes committed Sep 9, 2024
1 parent 0879b49 commit d2aa20a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stowed-files/nvim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ require("lazy").setup({
cssls = default_lsp_opts,
cssmodules_ls = vim.tbl_deep_extend('force', default_lsp_opts, {
on_attach = function(client, bufnr)
-- Don't use `definitionProvider` since it conflicts with tsserver
-- Don't use `definitionProvider` since it conflicts with ts_ls
client.server_capabilities.definitionProvider = false

lsp_on_attach(client, bufnr)
Expand All @@ -160,7 +160,7 @@ require("lazy").setup({
html = default_lsp_opts,
jsonls = default_lsp_opts,
pyright = default_lsp_opts,
tsserver = vim.tbl_deep_extend('force', default_lsp_opts, {
ts_ls = vim.tbl_deep_extend('force', default_lsp_opts, {
-- Increase memory limit to 16GB, might need to adjust on weaker
-- machines
init_options = {
Expand Down

0 comments on commit d2aa20a

Please sign in to comment.