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:
André Twupack
2014-07-13 15:57:13 +02:00
committed by Justin M. Keyes
parent 563f38c317
commit d730c5c57e
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -218,7 +218,7 @@ static int included_patches[] = {
//334, //334,
//333, //333,
//332, //332,
//331, 331,
//330, //330,
//329, //329,
//328, //328,