chore(build): auto-generate docs

This commit is contained in:
folke 2025-01-16 12:04:33 +00:00 committed by github-actions[bot]
parent 1534f24da9
commit d62b72f6f5

View file

@ -397,6 +397,15 @@ Snacks.picker.pick({source = "files", ...})
## 📚 Types
```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.Extmark vim.api.keyset.set_extmark|{col:number, row?:number}
---@alias snacks.picker.Text {[1]:string, [2]:string?, virtual?:boolean}
@ -472,15 +481,6 @@ It's a previewer that shows a preview based on the item data.
---@field preview? snacks.win.Config|{} preview window config
```
```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
```
## 📦 Module
```lua
@ -1703,8 +1703,6 @@ Snacks.picker.actions.toggle_maximize(picker)
Snacks.picker.actions.toggle_preview(picker)
```
## 📦 `snacks.picker.core.picker`
```lua
@ -1861,3 +1859,5 @@ Get the word under the cursor or the current visual selection
```lua
picker:word()
```