mirror of
https://github.com/vim/vim.git
synced 2025-09-07 22:03:36 -04:00
updated for version 7.3.217
Problem: Inside an "if" a ":wincmd" causes problems. Solution: When skipping commands let ":wincmd" skip over its argument.
This commit is contained in:
parent
986a0039cb
commit
12bde494a5
@ -2595,6 +2595,7 @@ do_one_cmd(cmdlinep, sourcing,
|
||||
case CMD_unlet:
|
||||
case CMD_verbose:
|
||||
case CMD_vertical:
|
||||
case CMD_wincmd:
|
||||
break;
|
||||
|
||||
default: goto doend;
|
||||
@ -8237,7 +8238,7 @@ ex_wincmd(eap)
|
||||
p = skipwhite(p);
|
||||
if (*p != NUL && *p != '"' && eap->nextcmd == NULL)
|
||||
EMSG(_(e_invarg));
|
||||
else
|
||||
else if (!eap->skip)
|
||||
{
|
||||
/* Pass flags on for ":vertical wincmd ]". */
|
||||
postponed_split_flags = cmdmod.split;
|
||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
217,
|
||||
/**/
|
||||
216,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user