chore(build): auto-generate docs

This commit is contained in:
folke 2025-02-04 16:25:42 +00:00 committed by github-actions[bot]
parent 427f036c65
commit 506659a001
2 changed files with 20 additions and 20 deletions

View file

@ -7,7 +7,7 @@
```lua
---@class snacks.health.Tool
---@field cmd string|string[]
---@field version? string
---@field version? string|false
---@field enabled? boolean
```

View file

@ -552,6 +552,23 @@ Snacks.picker.pick({source = "files", ...})
---@field cmd? snacks.picker.EditCmd
```
```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}
@ -628,23 +645,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
@ -2461,8 +2461,6 @@ Snacks.picker.actions.toggle_preview(picker)
Snacks.picker.actions.yank(_, item)
```
## 📦 `snacks.picker.core.picker`
```lua
@ -2696,3 +2694,5 @@ Get the word under the cursor or the current visual selection
```lua
picker:word()
```