summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-01 19:55:49 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-01 19:55:49 +0200
commita1706c958e69086f5c9eb7d79779ed839441ff60 (patch)
tree463db91f8647a09dd3fc392115886c5e8ee5f261 /src/main.c
parent31b7d38611541030fe54898a7d8b6a714fa0fa59 (diff)
updated for version 7.4.234v7.4.234
Problem: Can't get the command that was used to start Vim. Solution: Add v:progpath. (Viktor Kojouharov)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f9bd8732ee..c29d6be235 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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')