diff --git a/modules/home-manager/vim/config/lua/lsp/config.lua b/modules/home-manager/vim/config/lua/lsp/config.lua index dd4edf9..4ed2a9f 100644 --- a/modules/home-manager/vim/config/lua/lsp/config.lua +++ b/modules/home-manager/vim/config/lua/lsp/config.lua @@ -24,7 +24,4 @@ M.set_keymaps = function(client, bufnr) end end -require("lspconfig").tsserver.setup({}) - - return M diff --git a/modules/home-manager/vim/config/lua/lsp/handlers.lua b/modules/home-manager/vim/config/lua/lsp/handlers.lua index 86eb1be..20fcece 100644 --- a/modules/home-manager/vim/config/lua/lsp/handlers.lua +++ b/modules/home-manager/vim/config/lua/lsp/handlers.lua @@ -56,4 +56,6 @@ M.clangd = make_config("clangd", { }, }) +M.tsserver = make_config("tsserver", {}) + return M