]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.331 v7.4.331
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Jun 2014 16:16:11 +0000 (18:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Jun 2014 16:16:11 +0000 (18:16 +0200)
Problem:    Relative numbering not updated after a linewise yank.  Issue 235.
Solution:   Redraw after the yank. (Christian Brabandt)

src/ops.c
src/version.c

index 0348353fc952e2e4c6e93de930abf0bbe9f26922..f5bf0f8f302dc25d8c76e921319c9f8a888294f3 100644 (file)
--- 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
index 63ff8a1a79d1babe873d6c7b22fb3a10a4eb7637..be7bccbb4697b5b5e4692a3d0cb41e801af54314 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    331,
 /**/
     330,
 /**/