mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 21:25:11 +00:00
fix(toggle): hide toggle when real keymap does not exist. Closes #378
This commit is contained in:
parent
538bc3b65a
commit
ee9e6179fe
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ function Toggle:_wk(keys, mode)
|
|||
{
|
||||
keys,
|
||||
mode = mode,
|
||||
real = true,
|
||||
icon = function()
|
||||
local key = self:get() and "enabled" or "disabled"
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue