mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
normal: Fix V728: excessive check
This commit is contained in:
parent
605c8fb49c
commit
6552768c4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user