mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
feat(snacks): added leader-n to show notification history
This commit is contained in:
@@ -48,14 +48,10 @@ return {
|
|||||||
words = { enabled = true },
|
words = { enabled = true },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{ "<leader>n", function() Snacks.notifier.show_history() end, desc = "Notification History" },
|
||||||
"<leader>un",
|
{ "<leader>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" },
|
||||||
function()
|
|
||||||
Snacks.notifier.hide()
|
|
||||||
end,
|
|
||||||
desc = "Dismiss All Notifications",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local notify = vim.notify
|
local notify = vim.notify
|
||||||
|
|||||||
Reference in New Issue
Block a user