mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker): show new notifications on top
This commit is contained in:
parent
1b301ad8d6
commit
0df7c0bef5
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ local M = {}
|
|||
|
||||
---@param opts snacks.picker.notifications.Config
|
||||
function M.notifier(opts)
|
||||
local notifs = Snacks.notifier.get_history({ filter = opts.filter })
|
||||
local notifs = Snacks.notifier.get_history({ filter = opts.filter, reverse = true })
|
||||
local items = {} ---@type snacks.picker.finder.Item[]
|
||||
|
||||
for _, notif in ipairs(notifs) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue