style(picker): cleanup

This commit is contained in:
Folke Lemaitre 2025-01-16 12:56:51 +01:00
parent 123f0d9e5d
commit ba3a68f988
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -87,6 +87,8 @@ local M = {}
---@field main? snacks.picker.main.Config main editor window config
---@field on_change? fun(picker:snacks.Picker, item:snacks.picker.Item) called when the cursor changes
---@field on_show? fun(picker:snacks.Picker) called when the picker is shown
--- Other
---@field debug? snacks.picker.debug|{}
local defaults = {
prompt = "",
sources = {},
@ -280,6 +282,7 @@ local defaults = {
Variable = "󰀫 ",
},
},
---@class snacks.picker.debug
debug = {
scores = false, -- show scores in the list
},