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 78d4116 commit 253b2a2
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,6 +493,23 @@ 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 @@ -569,23 +586,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
Expand Down Expand Up @@ -2336,8 +2336,6 @@ Snacks.picker.actions.vsplit(picker)
Snacks.picker.actions.yank(_, item)
```



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

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


0 comments on commit 253b2a2

Please sign in to comment.