Skip to content

Commit 398c2cb

Browse files
folkegithub-actions[bot]
authored andcommitted
chore(build): auto-generate docs
1 parent 719b36f commit 398c2cb

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/picker.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -577,23 +577,6 @@ Snacks.picker.pick({source = "files", ...})
577577
---@field layout? snacks.picker.layout.Config|string
578578
```
579579

580-
```lua
581-
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
582-
```
583-
584-
```lua
585-
---@class snacks.picker.Last
586-
---@field cursor number
587-
---@field topline number
588-
---@field opts? snacks.picker.Config
589-
---@field selected snacks.picker.Item[]
590-
---@field filter snacks.picker.Filter
591-
```
592-
593-
```lua
594-
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
595-
```
596-
597580
```lua
598581
---@alias snacks.picker.Extmark vim.api.keyset.set_extmark|{col:number, row?:number, field?:string}
599582
---@alias snacks.picker.Text {[1]:string, [2]:string?, virtual?:boolean, field?:string}
@@ -670,6 +653,23 @@ It's a previewer that shows a preview based on the item data.
670653
---@field preview? snacks.win.Config|{} preview window config
671654
```
672655

656+
```lua
657+
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
658+
```
659+
660+
```lua
661+
---@class snacks.picker.Last
662+
---@field cursor number
663+
---@field topline number
664+
---@field opts? snacks.picker.Config
665+
---@field selected snacks.picker.Item[]
666+
---@field filter snacks.picker.Filter
667+
```
668+
669+
```lua
670+
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
671+
```
672+
673673
## 📦 Module
674674

675675
```lua
@@ -2536,6 +2536,8 @@ Snacks.picker.actions.toggle_preview(picker)
25362536
Snacks.picker.actions.yank(_, item)
25372537
```
25382538

2539+
2540+
25392541
## 📦 `snacks.picker.core.picker`
25402542

25412543
```lua
@@ -2769,5 +2771,3 @@ Get the word under the cursor or the current visual selection
27692771
```lua
27702772
picker:word()
27712773
```
2772-
2773-

0 commit comments

Comments
 (0)