diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c index 1b245e23be..caf0cce681 100644 --- a/src/nvim/insexpand.c +++ b/src/nvim/insexpand.c @@ -2261,10 +2261,6 @@ static bool ins_compl_stop(const int c, const int prev_mode, bool retval) retval = true; } - if ((c == Ctrl_W || c == Ctrl_U) && ins_compl_preinsert_effect()) { - ins_compl_delete(false); - } - auto_format(false, true); // Trigger the CompleteDonePre event to give scripts a chance to