Commits

Bram Moolenaar  committed 15705b5

updated for version 7.3.217
Problem: Inside an "if" a ":wincmd" causes problems.
Solution: When skipping commands let ":wincmd" skip over its argument.

  • Participants
  • Parent commits 0c9ba55
  • Tags v7-3-217

Comments (0)

Files changed (2)

File src/ex_docmd.c

 	    case CMD_unlet:
 	    case CMD_verbose:
 	    case CMD_vertical:
+	    case CMD_wincmd:
 				break;
 
 	    default:		goto doend;
     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;

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    217,
+/**/
     216,
 /**/
     215,