summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-06-17 18:16:11 +0200
committerBram Moolenaar <Bram@vim.org>2014-06-17 18:16:11 +0200
commit7ec83432b7752a1c1956e967afa40611d40c179b (patch)
treef4ed9b72fb2bab7b8ee590e6f31b9838533711e0 /src/ops.c
parentb3414595c713ca161f082776f89417faddec7d2d (diff)
downloadvim-git-7ec83432b7752a1c1956e967afa40611d40c179b.tar.gz
updated for version 7.4.331v7.4.331
Problem: Relative numbering not updated after a linewise yank. Issue 235. Solution: Redraw after the yank. (Christian Brabandt)
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c2
1 files changed, 2 insertions, 0 deletions
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