From ed5d71e0f927672ba2c7a1ed01adef2ff2da7b42 Mon Sep 17 00:00:00 2001 From: Youenn Piolet Date: Thu, 5 Sep 2024 21:16:52 +0200 Subject: [PATCH] fix(nvim): temporary rename tsserver to ts_ls in lspconfig see https://github.com/neovim/nvim-lspconfig/pull/3232 --- nvim/lua/mnmx/plugins/mason-lspconfig.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/lua/mnmx/plugins/mason-lspconfig.lua b/nvim/lua/mnmx/plugins/mason-lspconfig.lua index c9cd784..55c1e14 100644 --- a/nvim/lua/mnmx/plugins/mason-lspconfig.lua +++ b/nvim/lua/mnmx/plugins/mason-lspconfig.lua @@ -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,