From 7ec83432b7752a1c1956e967afa40611d40c179b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 17 Jun 2014 18:16:11 +0200 Subject: [PATCH] updated for version 7.4.331 Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt) --- src/ops.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ops.c b/src/ops.c index 0348353fc..f5bf0f8f3 100644 --- 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 index 63ff8a1a7..be7bccbb4 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 331, /**/ 330, /**/ -- 2.50.1