mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-08 04:38:12 +00:00
feat(toggle): return toggle after map
This commit is contained in:
parent
1c412f11c0
commit
4f22016b4b
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ function Toggle:map(keys, opts)
|
||||||
self:_wk(keys, mode)
|
self:_wk(keys, mode)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
return self
|
||||||
end
|
end
|
||||||
|
|
||||||
function Toggle:_wk(keys, mode)
|
function Toggle:_wk(keys, mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue