From 304a60f2635aa33f0061107cfb0d6ad9e4dceac3 Mon Sep 17 00:00:00 2001 From: folke <292349+folke@users.noreply.github.com> Date: Thu, 13 Feb 2025 11:04:03 +0000 Subject: [PATCH] chore(build): auto-generate docs --- docs/toggle.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/toggle.md b/docs/toggle.md index 28fcf35d..51f1bc8b 100644 --- a/docs/toggle.md +++ b/docs/toggle.md @@ -29,6 +29,7 @@ Toggle keymaps integrated with which-key icons / colors ---@class snacks.toggle.Config ---@field icon? string|{ enabled: string, disabled: string } ---@field color? string|{ enabled: string, disabled: string } +---@field wk_desc? string|{ enabled: string, disabled: string } ---@field map? fun(mode: string|string[], lhs: string, rhs: string|fun(), opts?: vim.keymap.set.Opts) ---@field which_key? boolean ---@field notify? boolean @@ -46,6 +47,10 @@ Toggle keymaps integrated with which-key icons / colors enabled = "green", disabled = "yellow", }, + wk_desc = { + enabled = "Disable ", + disabled = "Enable ", + }, } ```