Skip to content

Commit

Permalink
Temporary fix to tsserver error neovim/nvim-lspconfig#3232
Browse files Browse the repository at this point in the history
  • Loading branch information
bitterhalt committed Sep 6, 2024
1 parent 3aa1dd8 commit eaa9bb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/nvim/lua/plugins/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ return {
ensure_installed = { "bashls", "html", "lua_ls", "pylsp", "tsserver" },
handlers = {
function(server_name)
-- Fixes https://github.com/neovim/nvim-lspconfig/pull/3232
server_name = server_name == 'tsserver' and 'ts_ls' or server_name
require("lspconfig")[server_name].setup({})
end,

Expand Down

0 comments on commit eaa9bb6

Please sign in to comment.