From: Bram Moolenaar Date: Tue, 13 May 2014 10:44:24 +0000 (+0200) Subject: updated for version 7.4.285 X-Git-Tag: v7.4.285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd859c9878c9457f281941d55d3ca1124e9f90d5;p=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) --- diff --git a/src/misc1.c b/src/misc1.c index 31a9c6446..88ebd8da3 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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); } } diff --git a/src/version.c b/src/version.c index 739057d01..ac01f4280 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 285, /**/ 284, /**/