vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)

Problem:    Cannot get the Vim command line arguments.
Solution:   Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322)
69bf634858
This commit is contained in:
kuuote
2020-05-25 03:45:25 +09:00
committed by GitHub
parent 97bcab8f5e
commit e89462d985
6 changed files with 43 additions and 0 deletions

View File

@@ -269,6 +269,8 @@ int main(int argc, char **argv)
early_init();
set_argv_var(argv, argc); // set v:argv
// Check if we have an interactive window.
check_and_set_isatty(&params);