mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
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:

committed by
Thiago de Arruda

parent
54f425adc5
commit
62d6564b09
@@ -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;
|
||||
|
Reference in New Issue
Block a user