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
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);
}
}
}