mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
vim-patch:7.4.331 #1017
Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=6d984caa0409fd284722c44cb09a0a2b5360bd4f
This commit is contained in:

committed by
Justin M. Keyes

parent
563f38c317
commit
d730c5c57e
@@ -2505,6 +2505,9 @@ int op_yank(oparg_T *oap, int deleting, int mess)
|
|||||||
free(y_current->y_array);
|
free(y_current->y_array);
|
||||||
y_current = curr;
|
y_current = curr;
|
||||||
}
|
}
|
||||||
|
if (curwin->w_p_rnu) {
|
||||||
|
redraw_later(SOME_VALID); // cursor moved to start
|
||||||
|
}
|
||||||
if (mess) { /* Display message about yank? */
|
if (mess) { /* Display message about yank? */
|
||||||
if (yanktype == MCHAR
|
if (yanktype == MCHAR
|
||||||
&& !oap->block_mode
|
&& !oap->block_mode
|
||||||
|
@@ -218,7 +218,7 @@ static int included_patches[] = {
|
|||||||
//334,
|
//334,
|
||||||
//333,
|
//333,
|
||||||
//332,
|
//332,
|
||||||
//331,
|
331,
|
||||||
//330,
|
//330,
|
||||||
//329,
|
//329,
|
||||||
//328,
|
//328,
|
||||||
|
Reference in New Issue
Block a user