1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-11-29 17:19:44 +01:00

nvim: fixed breaking changes

This commit is contained in:
2025-07-20 04:48:11 +02:00
parent 3aafdd54f7
commit fd6934ecbc
3 changed files with 48 additions and 48 deletions

View File

@@ -58,18 +58,18 @@ return {
}
local default = { __index = function() return {} end }
setmetatable(servers, default)
require("mason-lspconfig").setup_handlers({
function(server_name)
require('lspconfig')[server_name].setup({
on_attach = Attach_func,
capabilities = Capabilities,
flags = {
debounce_text_changes = 150
},
settings = servers[server_name]
})
end
})
-- require("mason-lspconfig").setup_handlers({
-- function(server_name)
-- require('lspconfig')[server_name].setup({
-- on_attach = Attach_func,
-- capabilities = Capabilities,
-- flags = {
-- debounce_text_changes = 150
-- },
-- settings = servers[server_name]
-- })
-- end
-- })
end
}
}