diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-05-13 12:44:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-05-13 12:44:24 +0200 |
commit | fd859c9878c9457f281941d55d3ca1124e9f90d5 (patch) | |
tree | 9b0f8ae2f8858549e7b0a5bb473b5b24a9a3db11 /src/misc1.c | |
parent | ed7547da438e44e7907bd9fd488f6b961f23e1e0 (diff) | |
download | vim-fd859c9878c9457f281941d55d3ca1124e9f90d5.zip |
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)
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } } |