feat(lsp): remove on_attach

This commit is contained in:
Fabrice Mouhartem 2025-04-01 18:59:08 +02:00
parent 5c17ad21d2
commit 2a35077571
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

@ -130,7 +130,6 @@ mason_lspconfig.setup_handlers {
function(server_name)
require('lspconfig')[server_name].setup {
capabilities = capabilities,
on_attach = on_attach,
settings = servers[server_name],
filetypes = (servers[server_name] or {}).filetypes,
}
@ -164,7 +163,6 @@ servers = {
for server_name, server_settings in pairs(servers) do
lspconfig[server_name].setup {
capabilities = capabilities,
on_attach = on_attach,
settings = server_settings,
filetypes = (servers[server_name] or {}).filetypes,
}