summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-23 21:17:35 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-23 21:17:35 +0200
commitd019039ccd7cbeae8923db20383a241d7fc77e2c (patch)
treed1b0cde3456dc614eb35dc715f6624ea971abf2d /src/proto
parent37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c (diff)
downloadvim-git-d019039ccd7cbeae8923db20383a241d7fc77e2c.tar.gz
patch 8.1.1914: command line expansion code is spread outv8.1.1914
Problem: Command line expansion code is spread out. Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855)
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/ex_docmd.pro7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/proto/ex_docmd.pro b/src/proto/ex_docmd.pro
index af40f4c87..cc64ac882 100644
--- a/src/proto/ex_docmd.pro
+++ b/src/proto/ex_docmd.pro
@@ -9,11 +9,13 @@ int parse_cmd_address(exarg_T *eap, char **errormsg, int silent);
int checkforcmd(char_u **pp, char *cmd, int len);
int modifier_len(char_u *cmd);
int cmd_exists(char_u *name);
-char_u *set_one_cmd_context(expand_T *xp, char_u *buff);
+cmdidx_T excmd_get_cmdidx(char_u *cmd, int len);
+long excmd_get_argt(cmdidx_T idx);
char_u *skip_range(char_u *cmd, int *ctx);
void ex_ni(exarg_T *eap);
int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp);
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);
char_u *find_nextcmd(char_u *p);
@@ -48,9 +50,6 @@ char_u *expand_sfile(char_u *arg);
int put_eol(FILE *fd);
int put_line(FILE *fd, char *s);
void dialog_msg(char_u *buff, char *format, char_u *fname);
-char_u *get_behave_arg(expand_T *xp, int idx);
-char_u *get_messages_arg(expand_T *xp, int idx);
-char_u *get_mapclear_arg(expand_T *xp, int idx);
void set_no_hlsearch(int flag);
int is_loclist_cmd(int cmdidx);
int get_pressedreturn(void);