commit | fd859c9878c9457f281941d55d3ca1124e9f90d5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 13 12:44:24 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 13 12:44:24 2014 +0200 |
tree | 9b0f8ae2f8858549e7b0a5bb473b5b24a9a3db11 | |
parent | ed7547da438e44e7907bd9fd488f6b961f23e1e0 [diff] [blame] |
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 31a9c64..88ebd8d 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -3125,6 +3125,9 @@ 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); } }