forked from aniani/vim
updated for version 7.4.285
Problem: When 'relativenumber' is set and deleting lines or undoing that, line numbers are not always updated. (Robert Arkwright) Solution: (Christian Brabandt)
This commit is contained in:
@@ -3125,6 +3125,9 @@ changed_common(lnum, col, lnume, xtra)
|
|||||||
if (hasAnyFolding(wp))
|
if (hasAnyFolding(wp))
|
||||||
set_topline(wp, wp->w_topline);
|
set_topline(wp, wp->w_topline);
|
||||||
#endif
|
#endif
|
||||||
|
/* relative numbering may require updating more */
|
||||||
|
if (wp->w_p_rnu)
|
||||||
|
redraw_win_later(wp, SOME_VALID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
285,
|
||||||
/**/
|
/**/
|
||||||
284,
|
284,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user