docs(notifier): docgen

This commit is contained in:
Folke Lemaitre 2024-11-23 00:04:25 +01:00
parent bebd7e70cd
commit 02d90ff843
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 23 additions and 1 deletions

View file

@ -66,6 +66,8 @@ local uv = vim.uv or vim.loop
---@field filter? snacks.notifier.level|fun(notif: snacks.notifier.Notif): boolean
---@field sort? string[] # sort fields, default: {"added"}
---@field reverse? boolean
---@type snacks.notifier.history
local history_opts = {
sort = { "added" },
}