mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-13 04:51:15 +02:00
nvim: fixed breaking changes
This commit is contained in:
@@ -14,9 +14,9 @@ return {
|
||||
["("] = ")",
|
||||
["["] = "]",
|
||||
["{"] = "}",
|
||||
["'"] = { closing = "'", enter = false },
|
||||
['"'] = { closing = '"', enter = false },
|
||||
["`"] = { closing = "`", enter = false },
|
||||
["'"] = "'",
|
||||
['"'] = '"',
|
||||
["`"] = "`",
|
||||
},
|
||||
},
|
||||
highlights = {
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user