diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-29 04:16:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-29 04:16:57 +0100 |
commit | 69bf634858a2a75f2984e42b1e4017bc529a040a (patch) | |
tree | 1584b32f67463ec2b31ac858e5ada499a34967af /src/proto/evalvars.pro | |
parent | 8b530c1ff91f07cf6b0289a536992b7dfbc86598 (diff) |
patch 8.1.2233: cannot get the Vim command line argumentsv8.1.2233
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322)
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r-- | src/proto/evalvars.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro index 691eec3492..bb8b5a1c65 100644 --- a/src/proto/evalvars.pro +++ b/src/proto/evalvars.pro @@ -41,6 +41,7 @@ void restore_vimvars(vimvars_save_T *vvsave); void set_vim_var_string(int idx, char_u *val, int len); void set_vim_var_list(int idx, list_T *val); void set_vim_var_dict(int idx, dict_T *val); +void set_argv_var(char **argv, int argc); void set_reg_var(int c); char_u *v_exception(char_u *oldval); char_u *v_throwpoint(char_u *oldval); |