mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user