diff --git a/lua/cmp/utils/keymap.lua b/lua/cmp/utils/keymap.lua index b4ffecf..7492f6e 100644 --- a/lua/cmp/utils/keymap.lua +++ b/lua/cmp/utils/keymap.lua @@ -160,13 +160,13 @@ keymap.evacuate = setmetatable({ callback = callback, noremap = existing.noremap, script = existing.script, - silent = true, + silent = mode ~= 'c', nowait = existing.nowait, } or { expr = true, noremap = existing.noremap, script = existing.script, - silent = true, + silent = mode ~= 'c', nowait = existing.nowait, })