commit | a1706c958e69086f5c9eb7d79779ed839441ff60 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Apr 01 19:55:49 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Apr 01 19:55:49 2014 +0200 |
tree | 463db91f8647a09dd3fc392115886c5e8ee5f261 | |
parent | 31b7d38611541030fe54898a7d8b6a714fa0fa59 [diff] [blame] |
updated for version 7.4.234 Problem: Can't get the command that was used to start Vim. Solution: Add v:progpath. (Viktor Kojouharov)
diff --git a/src/main.c b/src/main.c index f9bd873..c29d6be 100644 --- a/src/main.c +++ b/src/main.c
@@ -1602,6 +1602,7 @@ #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')