fix cmp blinking notifications
This commit is contained in:
@@ -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,
|
||||||
})
|
-- })
|
||||||
|
|||||||
Reference in New Issue
Block a user