summaryrefslogtreecommitdiff
path: root/src/proto/ex_docmd.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-16 22:10:49 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-16 22:10:49 +0200
commit7a09224583b2ad0d9d0648b53cc2d989d45ae96e (patch)
tree0902978c7dc890c45e1cc25e4c46656b64875466 /src/proto/ex_docmd.pro
parentc5f33db888d14225e5a3851563c9a7fc0b5a5564 (diff)
downloadvim-git-7a09224583b2ad0d9d0648b53cc2d989d45ae96e.tar.gz
patch 8.2.0585: Vim9: # comment not recognized after :vim9scriptv8.2.0585
Problem: Vim9: # comment not recognized after :vim9script. Solution: Check script type. Make comment after ":echo" work. And in several other places.
Diffstat (limited to 'src/proto/ex_docmd.pro')
-rw-r--r--src/proto/ex_docmd.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/ex_docmd.pro b/src/proto/ex_docmd.pro
index af70e2dba..eba5ee497 100644
--- a/src/proto/ex_docmd.pro
+++ b/src/proto/ex_docmd.pro
@@ -19,6 +19,7 @@ void separate_nextcmd(exarg_T *eap);
char_u *skip_cmd_arg(char_u *p, int rembs);
int get_bad_opt(char_u *p, exarg_T *eap);
int ends_excmd(int c);
+int ends_excmd2(char_u *before, char_u *cmd);
char_u *find_nextcmd(char_u *p);
char_u *check_nextcmd(char_u *p);
char_u *get_command_name(expand_T *xp, int idx);