mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
3baf95d3a1
commit
790d257c48
1 changed files with 12 additions and 1 deletions
|
@ -582,6 +582,12 @@ Snacks.picker.pick({source = "files", ...})
|
|||
---@field layout? snacks.picker.layout.Config|string
|
||||
```
|
||||
|
||||
```lua
|
||||
---@class snacks.picker.yank.Action: snacks.picker.Action
|
||||
---@field reg? string
|
||||
---@field field? string
|
||||
```
|
||||
|
||||
```lua
|
||||
---@alias snacks.picker.Extmark vim.api.keyset.set_extmark|{col:number, row?:number, field?:string}
|
||||
---@alias snacks.picker.Text {[1]:string, [2]:string?, virtual?:boolean, field?:string}
|
||||
|
@ -2001,10 +2007,15 @@ Not meant to be used directly.
|
|||
preview = { wo = { number = false, relativenumber = false, signcolumn = "no" } },
|
||||
input = {
|
||||
keys = {
|
||||
["<c-y>"] = { "yank", mode = { "n", "i" } },
|
||||
["<c-y>"] = { "yank_add", mode = { "n", "i" } },
|
||||
["<c-s-y>"] = { "yank_del", mode = { "n", "i" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
actions = {
|
||||
yank_add = { action = "yank", field = "added_lines" },
|
||||
yank_del = { action = "yank", field = "removed_lines" },
|
||||
},
|
||||
icons = { tree = { last = "┌╴" } }, -- the tree is upside down
|
||||
diff = {
|
||||
ctxlen = 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue