diff options
Diffstat (limited to 'src/nvim/normal.c')
| -rw-r--r-- | src/nvim/normal.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 39cd2c6631..d891c74fd2 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1451,9 +1451,8 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)      /* Never redo "zf" (define fold). */      if ((vim_strchr(p_cpo, CPO_YANK) != NULL || oap->op_type != OP_YANK)          && ((!VIsual_active || oap->motion_force) -            /* Also redo Operator-pending Visual mode mappings */ -            || (VIsual_active && cap->cmdchar == ':' -                && oap->op_type != OP_COLON)) +            // Also redo Operator-pending Visual mode mappings. +            || (cap->cmdchar == ':' && oap->op_type != OP_COLON))          && cap->cmdchar != 'D'          && oap->op_type != OP_FOLD          && oap->op_type != OP_FOLDOPEN  | 
