Mercurial > vim
comparison src/main.c @ 18477:e93cab5d0f0f v8.1.2233
patch 8.1.2233: cannot get the Vim command line arguments
Commit: https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 29 04:16:57 2019 +0100
patch 8.1.2233: cannot get the Vim command line arguments
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes https://github.com/vim/vim/issues/1322)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Oct 2019 04:30:05 +0100 |
parents | d6cb1e706fb7 |
children | bbea1f108187 |
comparison
equal
deleted
inserted
replaced
18476:2eb22798b5a7 | 18477:e93cab5d0f0f |
---|---|
1007 init_homedir(); /* find real value of $HOME */ | 1007 init_homedir(); /* find real value of $HOME */ |
1008 set_init_1(paramp->clean); | 1008 set_init_1(paramp->clean); |
1009 TIME_MSG("inits 1"); | 1009 TIME_MSG("inits 1"); |
1010 | 1010 |
1011 #ifdef FEAT_EVAL | 1011 #ifdef FEAT_EVAL |
1012 set_lang_var(); /* set v:lang and v:ctype */ | 1012 // set v:lang and v:ctype |
1013 set_lang_var(); | |
1014 | |
1015 // set v:argv | |
1016 set_argv_var(paramp->argv, paramp->argc); | |
1013 #endif | 1017 #endif |
1014 | 1018 |
1015 #ifdef FEAT_SIGNS | 1019 #ifdef FEAT_SIGNS |
1016 init_signs(); | 1020 init_signs(); |
1017 #endif | 1021 #endif |