Fix expr keymap handling

This commit is contained in:
hrsh7th
2022-01-14 18:45:28 +09:00
parent 614e00de24
commit bce1b2d780

View File

@@ -174,7 +174,7 @@ keymap.feed_map = function(map)
elseif map.callback and map.expr then
rhs = map.callback()
elseif map.expr then
rhs = keymap.t(vim.api.nvim_eval(map.rhs))
rhs = vim.api.nvim_eval(keymap.t(map.rhs))
else
rhs = keymap.t(map.rhs)
end