chore(build): auto-generate docs

This commit is contained in:
folke 2025-02-07 20:59:36 +00:00 committed by github-actions[bot]
parent 3baf95d3a1
commit 790d257c48

View file

@ -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,