chore(build): auto-generate docs

This commit is contained in:
folke 2025-02-16 07:30:45 +00:00 committed by github-actions[bot]
parent 3100333fdb
commit 1dd94d3320
3 changed files with 26 additions and 20 deletions

View file

@ -1,4 +1,4 @@
*snacks.nvim.txt* For Neovim Last change: 2025 February 15
*snacks.nvim.txt* For Neovim Last change: 2025 February 16
==============================================================================
Table of Contents *snacks.nvim-table-of-contents*

View file

@ -605,6 +605,23 @@ Snacks.picker.pick({source = "files", ...})
---@field notify? boolean
```
```lua
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
```
```lua
---@class snacks.picker.Last
---@field cursor number
---@field topline number
---@field opts? snacks.picker.Config
---@field selected snacks.picker.Item[]
---@field filter snacks.picker.Filter
```
```lua
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
```
```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}
@ -683,23 +700,6 @@ It's a previewer that shows a preview based on the item data.
---@field preview? snacks.win.Config|{} preview window config
```
```lua
---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker}
```
```lua
---@class snacks.picker.Last
---@field cursor number
---@field topline number
---@field opts? snacks.picker.Config
---@field selected snacks.picker.Item[]
---@field filter snacks.picker.Filter
```
```lua
---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean}
```
## 📦 Module
```lua
@ -2693,8 +2693,6 @@ Snacks.picker.actions.toggle_preview(picker)
Snacks.picker.actions.yank(picker, item, action)
```
## 📦 `snacks.picker.core.picker`
```lua
@ -2949,3 +2947,5 @@ Get the word under the cursor or the current visual selection
```lua
picker:word()
```

View file

@ -289,6 +289,12 @@ win:dim(parent)
win:execute(actions)
```
### `win:fixbuf()`
```lua
win:fixbuf()
```
### `win:focus()`
```lua