Skip to content

Commit

Permalink
fix(nvim): temporary rename tsserver to ts_ls in lspconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
uZer committed Sep 5, 2024
1 parent 83ff805 commit ed5d71e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nvim/lua/mnmx/plugins/mason-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local handlers = {
-- and will be called for each installed server that doesn't have
-- a dedicated handler.
function(server_name) -- default handler (optional)
server_name = server_name == 'tsserver' and 'ts_ls' or server_name
require("lspconfig")[server_name].setup {}
end,

Expand Down

0 comments on commit ed5d71e

Please sign in to comment.