mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
style(toggle): make luals happy
This commit is contained in:
parent
97542a7d9b
commit
ab07ec3ae7
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ M.meta = {
|
|||
---@class snacks.toggle.Config
|
||||
---@field icon? string|{ enabled: string, disabled: string }
|
||||
---@field color? 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
|
||||
local defaults = {
|
||||
map = vim.keymap.set, -- keymap.set function to use
|
||||
which_key = true, -- integrate with which-key to show enabled/disabled icons and colors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue