diff options
-rw-r--r-- | src/ex_docmd.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index f54777155..e78f76244 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1710,6 +1710,10 @@ do_one_cmd(cmdlinep, sourcing, save_cmdmod = cmdmod; vim_memset(&cmdmod, 0, sizeof(cmdmod)); + /* "#!anything" is handled like a comment. */ + if ((*cmdlinep)[0] == '#' && (*cmdlinep)[1] == '!') + goto doend; + /* * Repeat until no more command modifiers are found. */ diff --git a/src/version.c b/src/version.c index 675985f1d..cfa4666d4 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 56, +/**/ 55, /**/ 54, |