mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
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 #1322)
This commit is contained in:
@@ -1009,7 +1009,11 @@ common_init(mparm_T *paramp)
|
||||
TIME_MSG("inits 1");
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
set_lang_var(); /* set v:lang and v:ctype */
|
||||
// set v:lang and v:ctype
|
||||
set_lang_var();
|
||||
|
||||
// set v:argv
|
||||
set_argv_var(paramp->argv, paramp->argc);
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_SIGNS
|
||||
|
Reference in New Issue
Block a user