diff src/ops.c @ 5981:6d984caa0409 v7.4.331

updated for version 7.4.331 Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 17 Jun 2014 18:16:11 +0200
parents 88b0571de432
children ef83b423ebf7
line wrap: on
line diff
--- 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