0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.234

Problem:    Can't get the command that was used to start Vim.
Solution:   Add v:progpath. (Viktor Kojouharov)
This commit is contained in:
Bram Moolenaar
2014-04-01 19:55:49 +02:00
parent 31b7d38611
commit a1706c958e
5 changed files with 12 additions and 1 deletions

View File

@@ -1602,6 +1602,7 @@ parse_command_name(parmp)
#ifdef FEAT_EVAL
set_vim_var_string(VV_PROGNAME, initstr, -1);
set_vim_var_string(VV_PROGPATH, (char_u *)parmp->argv[0], -1);
#endif
if (TOLOWER_ASC(initstr[0]) == 'r')