# HG changeset patch # User Bram Moolenaar # Date 1403021771 -7200 # Node ID 6d984caa0409fd284722c44cb09a0a2b5360bd4f # Parent 3f0304f301d7bd9866a368fa5f2522a43908a5bb updated for version 7.4.331 Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt) diff --git a/src/ops.c b/src/ops.c --- a/src/ops.c +++ b/src/ops.c @@ -3150,6 +3150,8 @@ op_yank(oap, deleting, mess) vim_free(y_current->y_array); y_current = curr; } + if (curwin->w_p_rnu) + redraw_later(SOME_VALID); /* cursor moved to start */ if (mess) /* Display message about yank? */ { if (yanktype == MCHAR diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 331, +/**/ 330, /**/ 329,