fix cmp blinking notifications

This commit is contained in:
2026-07-03 03:32:15 +02:00
parent 165d3ccc20
commit af9c944768

View File

@@ -12,13 +12,13 @@ ac("TextYankPost", {
end, end,
}) })
ac("LspAttach", { -- ac("LspAttach", {
desc = "Notify user about attached LSP clients", -- desc = "Notify user about attached LSP clients",
group = aug("LSPOnAttach", { clear = true }), -- group = aug("LSPOnAttach", { clear = true }),
callback = function(event) -- callback = function(event)
local client = vim.lsp.get_client_by_id(event.data.client_id) -- local client = vim.lsp.get_client_by_id(event.data.client_id)
if client then -- if client then
vim.notify(client.name .. " attached", vim.log.levels.INFO, {}) -- vim.notify(client.name .. " attached", vim.log.levels.INFO, {})
end -- end
end, -- end,
}) -- })