Skip to content

Commit

Permalink
updated for version 7.4.285
Browse files Browse the repository at this point in the history
Problem:    When 'relativenumber' is set and deleting lines or undoing that,
            line numbers are not always updated. (Robert Arkwright)
Solution:   (Christian Brabandt)
  • Loading branch information
brammool committed May 13, 2014
1 parent ed7547d commit fd859c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/misc1.c
Expand Up @@ -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);
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
285,
/**/
284,
/**/
Expand Down

0 comments on commit fd859c9

Please sign in to comment.