# HG changeset patch # User Bram Moolenaar # Date 1433870626 -7200 # Node ID cd7a7975f92cc43405307baa7b980b249c2c0ff1 # Parent 41745c0fdee48bdf7f1da0042c616f8d1699ccb0 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 732, +/**/ 731, /**/ 730,