fix: fix mason_lspconfig import

Fix an error that was being caused because setup_handlers was being called from nvim-lspconfig instead of mason-lspconfig
This commit is contained in:
SamuraX 2023-09-30 23:50:07 -03:00
parent f19e254a64
commit cf6ae8ba40

View file

@ -77,7 +77,8 @@ return {
})
end
lspconfig.setup_handlers({
local mason_lspconfig = require("mason-lspconfig")
mason_lspconfig.setup_handlers({
function(server_name)
default_handler(server_name, capabilities)
end,