refactor(ops): use op_yank_reg() instead of op_yank() when deleting

Needed for Vim patch 8.1.0999.
This commit is contained in:
zeertzjq
2022-02-23 11:11:23 +08:00
parent 205b3765f2
commit f6d507f5ba
2 changed files with 12 additions and 13 deletions

View File

@@ -8160,7 +8160,7 @@ static void ex_operators(exarg_T *eap)
case CMD_yank:
oa.op_type = OP_YANK;
(void)op_yank(&oa, true, false);
(void)op_yank(&oa, true);
break;
default: // CMD_rshift or CMD_lshift