1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-12 20:41:16 +02:00

nvim: fixed breaking changes

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

View File

@@ -14,9 +14,9 @@ return {
["("] = ")",
["["] = "]",
["{"] = "}",
["'"] = { closing = "'", enter = false },
['"'] = { closing = '"', enter = false },
["`"] = { closing = "`", enter = false },
["'"] = "'",
['"'] = '"',
["`"] = "`",
},
},
highlights = {

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
}
}