Merge pull request #749 from oni-link/vim-patch-7-4-285

vim-patch:7.4.285
This commit is contained in:
Justin M. Keyes 2014-05-26 20:44:32 -04:00
commit 277554a9eb
2 changed files with 16 additions and 0 deletions

View File

@ -2188,6 +2188,11 @@ static void changed_common(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra
* changed. Esp. when the buffer was changed in another window. */
if (hasAnyFolding(wp))
set_topline(wp, wp->w_topline);
// relative numbering may require updating more
if (wp->w_p_rnu) {
redraw_win_later(wp, SOME_VALID);
}
}
}

View File

@ -201,6 +201,17 @@ static char *(features[]) = {
static int included_patches[] = {
// Add new patch number below this line
285,
//284,
//283,
//282,
//281,
//280,
//279,
//278,
//277,
//276,
//275,
274,
//273,
272,