forked from aniani/vim
updated for version 7.4.331
Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt)
This commit is contained in:
@@ -3150,6 +3150,8 @@ op_yank(oap, deleting, mess)
|
|||||||
vim_free(y_current->y_array);
|
vim_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
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
331,
|
||||||
/**/
|
/**/
|
||||||
330,
|
330,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user