mirror of https://github.com/folke/lazy.nvim.git
fix(keys): dont delete handlers manually. Let loader do that
This commit is contained in:
parent
08d458c5ba
commit
72b38999bc
|
@ -52,7 +52,6 @@ function M:_add(value)
|
||||||
opts.noremap = false
|
opts.noremap = false
|
||||||
vim.keymap.set(keys.mode, lhs, function()
|
vim.keymap.set(keys.mode, lhs, function()
|
||||||
Util.track({ keys = lhs })
|
Util.track({ keys = lhs })
|
||||||
self:_del(value)
|
|
||||||
Loader.load(self.active[value], { keys = lhs })
|
Loader.load(self.active[value], { keys = lhs })
|
||||||
M.retrigger(lhs)
|
M.retrigger(lhs)
|
||||||
Util.track()
|
Util.track()
|
||||||
|
|
Loading…
Reference in New Issue