mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
feat(picker): added notifications
picker. Closes #738
This commit is contained in:
parent
0cb5bdf4ee
commit
32cffd2e60
5 changed files with 71 additions and 2 deletions
|
@ -508,6 +508,15 @@ M.marks = {
|
|||
["local"] = true,
|
||||
}
|
||||
|
||||
---@class snacks.picker.notifications.Config: snacks.picker.Config
|
||||
---@field filter? snacks.notifier.level|fun(notif: snacks.notifier.Notif): boolean
|
||||
M.notifications = {
|
||||
finder = "snacks_notifier",
|
||||
format = "notification",
|
||||
preview = "preview",
|
||||
formatters = { severity = { level = true } },
|
||||
}
|
||||
|
||||
-- List all available sources
|
||||
M.pickers = {
|
||||
finder = "meta_pickers",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue