vim-patch:7.4.234

Problem:  Can't get the command that was used to start Vim.

Solution: Add v:progpath. (Viktor Kojouharov)

https://code.google.com/p/vim/source/detail?r=d2286df8719d6e99c743e3bf6ac14d1f9debc84d
This commit is contained in:
Marco Hinz
2014-04-14 14:39:39 +02:00
committed by Thiago de Arruda
parent 54f425adc5
commit 62d6564b09
4 changed files with 4 additions and 1 deletions

View File

@@ -930,6 +930,7 @@ static void parse_command_name(mparm_T *parmp)
set_vim_var_string(VV_PROGNAME, initstr, -1);
set_vim_var_string(VV_PROGPATH, (char_u *)parmp->argv[0], -1);
if (parse_string(&initstr, "editor", 6))
return;