TextYankPost: spurious/too-early dispatch during delete #10392

Problem: delete-with-register dispatches TextYankPost before updating yank registers
Solution: Add flag to op_yank().

Fixes #10225
This commit is contained in:
Jit
2019-07-29 00:50:12 +02:00
committed by Justin M. Keyes
parent 4213492231
commit 7cc2b723d4
4 changed files with 21 additions and 8 deletions

View File

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