From 4ee7e43cb237545c3ec1a21bbd75afa3fcb1050e Mon Sep 17 00:00:00 2001 From: folke <292349+folke@users.noreply.github.com> Date: Sat, 25 Oct 2025 04:44:30 +0000 Subject: [PATCH] chore(build): auto-generate markdown docs --- docs/picker.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/picker.md b/docs/picker.md index adbbcd53..4413214e 100644 --- a/docs/picker.md +++ b/docs/picker.md @@ -639,6 +639,14 @@ Snacks.picker.pick({source = "files", ...}) ---@field expr string ``` +```lua +---@alias snacks.Picker.ref (fun():snacks.Picker?)|{value?: snacks.Picker} +``` + +```lua +---@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean} +``` + ```lua ---@alias snacks.picker.format.resolve fun(max_width:number):snacks.picker.Highlight[] ---@alias snacks.picker.Extmark vim.api.keyset.set_extmark|{col:number, row?:number, field?:string} @@ -720,14 +728,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 ----@alias snacks.picker.history.Record {pattern: string, search: string, live?: boolean} -``` - ## 📦 Module ```lua @@ -2882,8 +2882,6 @@ Snacks.picker.actions.toggle_preview(picker) Snacks.picker.actions.yank(picker, item, action) ``` - - ## 📦 `snacks.picker.core.picker` ```lua @@ -3138,3 +3136,5 @@ Get the word under the cursor or the current visual selection ```lua picker:word() ``` + +