chore(build): auto-generate docs
Some checks failed
CI / ci (push) Failing after 0s

This commit is contained in:
folke 2025-02-09 09:03:18 +00:00 committed by github-actions[bot]
parent b9900444d2
commit 48302be42f

View file

@ -397,6 +397,12 @@ Snacks.picker.pick({source = "files", ...})
Variable = "󰀫 ",
},
},
db = {
-- path to the sqlite3 library
-- If not set, it will try to load the library by name.
-- On Windows it will download the library from the internet.
sqlite3_path = nil, ---@type string?
},
---@class snacks.picker.debug
debug = {
scores = false, -- show scores in the list
@ -588,6 +594,23 @@ Snacks.picker.pick({source = "files", ...})
---@field field? string
```
```lua
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
```
```lua
---@class snacks.picker.Last
---@field cursor number
---@field topline number
---@field opts? snacks.picker.Config
---@field selected snacks.picker.Item[]
---@field filter snacks.picker.Filter
```
```lua
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
```
```lua
---@alias snacks.picker.Extmark vim.api.keyset.set_extmark|{col:number, row?:number, field?:string}
---@alias snacks.picker.Text {[1]:string, [2]:string?, virtual?:boolean, field?:string}
@ -664,23 +687,6 @@ It's a previewer that shows a preview based on the item data.
---@field preview? snacks.win.Config|{} preview window config
```
```lua
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
```
```lua
---@class snacks.picker.Last
---@field cursor number
---@field topline number
---@field opts? snacks.picker.Config
---@field selected snacks.picker.Item[]
---@field filter snacks.picker.Filter
```
```lua
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
```
## 📦 Module
```lua
@ -2638,8 +2644,6 @@ Snacks.picker.actions.toggle_preview(picker)
Snacks.picker.actions.yank(picker, item, action)
```
## 📦 `snacks.picker.core.picker`
```lua
@ -2873,3 +2877,5 @@ Get the word under the cursor or the current visual selection
```lua
picker:word()
```