360 current 2024-04-16 15:06:32 24.05.20240416.c04952a 6.8.4-zen1 *

This commit is contained in:
zackartz 2024-04-16 15:06:40 -04:00
parent ff42afc19b
commit 843d21351d
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
2 changed files with 13 additions and 107 deletions

View file

@ -25,6 +25,18 @@ M.set_keymaps = function(client, bufnr)
end
require("lspconfig").tsserver.setup({})
require("lsp.handlers")
local handlers = require("lsp.handlers") -- Adjust the path as necessary
local function setup_all_servers()
for server, setup_fn in pairs(handlers) do
if type(setup_fn) == "function" then
-- Call the setup function for each server
setup_fn()
print("Setup LSP server:", server) -- Optional: for debugging
end
end
end
setup_all_servers()
return M