fix(keys): dont delete handlers manually. Let loader do that

This commit is contained in:
Folke Lemaitre 2022-12-22 18:53:19 +01:00
parent 08d458c5ba
commit 72b38999bc
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 0 additions and 1 deletions

View File

@ -52,7 +52,6 @@ function M:_add(value)
opts.noremap = false
vim.keymap.set(keys.mode, lhs, function()
Util.track({ keys = lhs })
self:_del(value)
Loader.load(self.active[value], { keys = lhs })
M.retrigger(lhs)
Util.track()