mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +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 },
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue