mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +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:
@@ -1817,7 +1817,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank)
|
||||
}
|
||||
} else {
|
||||
curwin->w_p_lbr = lbr_saved;
|
||||
(void)op_yank(oap, !gui_yank);
|
||||
(void)op_yank(oap, !gui_yank, false);
|
||||
}
|
||||
check_cursor_col();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user