mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 13:15:08 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
b4cf6bb48d
commit
ed8f416b30
2 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
```
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue