From: Bram Moolenaar Date: Tue, 9 Jun 2015 17:23:46 +0000 (+0200) Subject: patch 7.4.732 X-Git-Tag: v7.4.732 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0d0fe09cf95bf88f643ec07d07939cbd41f8e63;p=vim patch 7.4.732 Problem: The cursor line is not always updated for the "O" command. Solution: Reset the VALID_CROW flag. (Christian Brabandt) --- diff --git a/src/normal.c b/src/normal.c index c29ab1a48..0ec803733 100644 --- a/src/normal.c +++ b/src/normal.c @@ -8493,6 +8493,9 @@ n_opencmd(cap) /* When '#' is in 'cpoptions' ignore the count. */ if (vim_strchr(p_cpo, CPO_HASH) != NULL) cap->count1 = 1; + if (curwin->w_p_cul) + /* force redraw of cursorline */ + curwin->w_valid &= ~VALID_CROW; invoke_edit(cap, FALSE, cap->cmdchar, TRUE); } } diff --git a/src/version.c b/src/version.c index 680e551fb..d9d6c3ab9 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 732, /**/ 731, /**/