chore(build): auto-generate docs

This commit is contained in:
folke 2025-02-09 16:27:26 +00:00 committed by github-actions[bot]
parent b4cf6bb48d
commit ed8f416b30
2 changed files with 11 additions and 0 deletions

View file

@ -85,3 +85,12 @@ Shortcut to open the explorer picker
---@param opts? snacks.picker.explorer.Config|{}
Snacks.explorer.open(opts)
```
### `Snacks.explorer.reveal()`
Reveals the given file/buffer or the current buffer in the explorer
```lua
---@param opts? {file?:string, buf?:number}
Snacks.explorer.reveal(opts)
```

View file

@ -109,6 +109,7 @@ Snacks.picker.pick({source = "files", ...})
---@field jump? snacks.picker.jump.Config|{}
--- Other
---@field config? fun(opts:snacks.picker.Config):snacks.picker.Config? custom config function
---@field db? snacks.picker.db.Config|{}
---@field debug? snacks.picker.debug|{}
{
prompt = " ",
@ -397,6 +398,7 @@ Snacks.picker.pick({source = "files", ...})
Variable = "󰀫 ",
},
},
---@class snacks.picker.db.Config
db = {
-- path to the sqlite3 library
-- If not set, it will try to load the library by name.