Fix cmdline mapping again

This commit is contained in:
hrsh7th
2022-01-17 19:43:38 +09:00
parent cea9c2a0c9
commit 4c0a6512a0

View File

@@ -156,7 +156,7 @@ keymap.evacuate = setmetatable({
silent = mode ~= 'c', silent = mode ~= 'c',
nowait = map.nowait, nowait = map.nowait,
}) })
elseif mode ~= 'c' or not map.callback then elseif mode ~= 'c' or map.callback then
local rhs = map.rhs local rhs = map.rhs
if not map.noremap then if not map.noremap then
rhs = keymap.recursive(map.lhs, rhs) rhs = keymap.recursive(map.lhs, rhs)