0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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:
Bram Moolenaar 2014-05-13 12:44:24 +02:00
parent ed7547da43
commit fd859c9878
2 changed files with 5 additions and 0 deletions

View File

@ -3125,6 +3125,9 @@ changed_common(lnum, col, lnume, xtra)
if (hasAnyFolding(wp))
set_topline(wp, wp->w_topline);
#endif
/* relative numbering may require updating more */
if (wp->w_p_rnu)
redraw_win_later(wp, SOME_VALID);
}
}

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
285,
/**/
284,
/**/