mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 13:15:08 +00:00
chore(build): auto-generate docs
This commit is contained in:
parent
369732e65e
commit
304a60f263
1 changed files with 5 additions and 0 deletions
|
@ -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 ",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue