mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(snacks): added leader-n to show notification history
This commit is contained in:
parent
2fc7697786
commit
be0cb9622d
1 changed files with 3 additions and 7 deletions
|
@ -48,14 +48,10 @@ return {
|
|||
words = { enabled = true },
|
||||
}
|
||||
end,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"<leader>un",
|
||||
function()
|
||||
Snacks.notifier.hide()
|
||||
end,
|
||||
desc = "Dismiss All Notifications",
|
||||
},
|
||||
{ "<leader>n", function() Snacks.notifier.show_history() end, desc = "Notification History" },
|
||||
{ "<leader>un", function() Snacks.notifier.hide() end, desc = "Dismiss All Notifications" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
local notify = vim.notify
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue