feat(snacks): added leader-n to show notification history

This commit is contained in:
Folke Lemaitre
2024-12-01 09:29:18 +01:00
parent 2fc7697786
commit be0cb9622d

View File

@ -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