Skip to content

Commit e3cd699

Browse files
folkegithub-actions[bot]
authored andcommitted
chore(build): auto-generate docs
1 parent 17bdd18 commit e3cd699

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

doc/snacks.nvim.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ FEATURES *snacks.nvim-snacks.nvim-features*
3838
dim Focus on the active scope by dimming
3939
the rest
4040

41-
git Git utilities
41+
explorer A file explorer (picker in disguise)
42+
43+
git Gitutilities
4244

4345
gitbrowse Open the current file, branch,
4446
commit, or repo in a browser
@@ -166,6 +168,7 @@ Default Options ~
166168
---@field bigfile? snacks.bigfile.Config
167169
---@field dashboard? snacks.dashboard.Config
168170
---@field dim? snacks.dim.Config
171+
---@field explorer? snacks.explorer.Config
169172
---@field gitbrowse? snacks.gitbrowse.Config
170173
---@field indent? snacks.indent.Config
171174
---@field input? snacks.input.Config

docs/picker.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,23 @@ Snacks.picker.pick({source = "files", ...})
481481
---@field cmd? string
482482
```
483483

484+
```lua
485+
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
486+
```
487+
488+
```lua
489+
---@class snacks.picker.Last
490+
---@field cursor number
491+
---@field topline number
492+
---@field opts? snacks.picker.Config
493+
---@field selected snacks.picker.Item[]
494+
---@field filter snacks.picker.Filter
495+
```
496+
497+
```lua
498+
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
499+
```
500+
484501
```lua
485502
---@alias snacks.picker.Extmark vim.api.keyset.set_extmark|{col:number, row?:number, field?:string}
486503
---@alias snacks.picker.Text {[1]:string, [2]:string?, virtual?:boolean, field?:string}
@@ -557,23 +574,6 @@ It's a previewer that shows a preview based on the item data.
557574
---@field preview? snacks.win.Config|{} preview window config
558575
```
559576

560-
```lua
561-
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
562-
```
563-
564-
```lua
565-
---@class snacks.picker.Last
566-
---@field cursor number
567-
---@field topline number
568-
---@field opts? snacks.picker.Config
569-
---@field selected snacks.picker.Item[]
570-
---@field filter snacks.picker.Filter
571-
```
572-
573-
```lua
574-
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
575-
```
576-
577577
## 📦 Module
578578

579579
```lua
@@ -2321,8 +2321,6 @@ Snacks.picker.actions.vsplit()
23212321
Snacks.picker.actions.yank(_, item)
23222322
```
23232323

2324-
2325-
23262324
## 📦 `snacks.picker.core.picker`
23272325

23282326
```lua
@@ -2531,3 +2529,5 @@ Get the word under the cursor or the current visual selection
25312529
```lua
25322530
picker:word()
25332531
```
2532+
2533+

0 commit comments

Comments
 (0)