mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
a6beb0f280
commit
1e2d8d57f1
2 changed files with 32 additions and 0 deletions
|
@ -1952,6 +1952,37 @@ Not meant to be used directly.
|
|||
}
|
||||
```
|
||||
|
||||
### `treesitter`
|
||||
|
||||
```vim
|
||||
:lua Snacks.picker.treesitter(opts?)
|
||||
```
|
||||
|
||||
```lua
|
||||
---@class snacks.picker.treesitter.Config: snacks.picker.Config
|
||||
---@field filter table<string, string[]|boolean>? symbol kind filter
|
||||
{
|
||||
finder = "treesitter_symbols",
|
||||
format = "lsp_symbol",
|
||||
filter = {
|
||||
default = {
|
||||
"Class",
|
||||
"Enum",
|
||||
"Field",
|
||||
"Function",
|
||||
"Method",
|
||||
"Module",
|
||||
"Namespace",
|
||||
"Struct",
|
||||
"Trait",
|
||||
},
|
||||
-- set to `true` to include all symbols
|
||||
markdown = true,
|
||||
help = true,
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### `undo`
|
||||
|
||||
```vim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue