Skip to content

Commit

Permalink
chore(build): auto-generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
folke authored and github-actions[bot] committed Jan 31, 2025
1 parent 5549d4e commit 4da7bdb
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docs/picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,23 +493,6 @@ Snacks.picker.pick({source = "files", ...})
---@field cmd? string
```

```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}
Expand Down Expand Up @@ -586,6 +569,23 @@ 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
Expand Down Expand Up @@ -2340,6 +2340,8 @@ Snacks.picker.actions.vsplit(picker)
Snacks.picker.actions.yank(_, item)
```



## 📦 `snacks.picker.core.picker`

```lua
Expand Down Expand Up @@ -2548,5 +2550,3 @@ Get the word under the cursor or the current visual selection
```lua
picker:word()
```


0 comments on commit 4da7bdb

Please sign in to comment.