mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
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:
@@ -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(¶ms);
|
||||
|
||||
|
Reference in New Issue
Block a user