forked from aniani/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)
This commit is contained in:
parent
7098ee5c37
commit
d0d0fe09cf
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
732,
|
||||
/**/
|
||||
731,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user