From: Bram Moolenaar Date: Sun, 12 Jun 2011 23:19:56 +0000 (+0200) Subject: updated for version 7.3.217 X-Git-Tag: v7.3.217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12bde494a5493fecc0617d7225d528114b6ecbfd;p=vim updated for version 7.3.217 Problem: Inside an "if" a ":wincmd" causes problems. Solution: When skipping commands let ":wincmd" skip over its argument. --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b9ec6c530..602bbfab4 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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; diff --git a/src/version.c b/src/version.c index 923380a49..f37599b76 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 217, /**/ 216, /**/