From 4c0a6512a0f8a235213959badf70031b9fa0220a Mon Sep 17 00:00:00 2001 From: hrsh7th Date: Mon, 17 Jan 2022 19:43:38 +0900 Subject: [PATCH] Fix cmdline mapping again --- lua/cmp/utils/keymap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp/utils/keymap.lua b/lua/cmp/utils/keymap.lua index f8b3b06..b59ce6e 100644 --- a/lua/cmp/utils/keymap.lua +++ b/lua/cmp/utils/keymap.lua @@ -156,7 +156,7 @@ keymap.evacuate = setmetatable({ silent = mode ~= 'c', nowait = map.nowait, }) - elseif mode ~= 'c' or not map.callback then + elseif mode ~= 'c' or map.callback then local rhs = map.rhs if not map.noremap then rhs = keymap.recursive(map.lhs, rhs)