fix(snacks): fix notification history keymap

Use snacks.notifier module directly to show notification history
This commit is contained in:
Adam Poniatowski 2025-02-23 16:57:27 +01:00
parent 231250d459
commit fa67d671d3
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ M.scratch_keymaps = {
opts = { desc = 'Toggle scratch buffer' } },
{ mode = 'n', lhs = '<leader>S', rhs = function() require("snacks").scratch.select() end,
opts = { desc = 'Select scratch buffer' } },
{ mode = 'n', lhs = '<leader>nh', rhs = function() require("snacks.notifier").show_history() end,
opts = { desc = 'Show notification history' } },
}
-- Git signs keymaps (all under <leader>g for Git)