diff src/eval.c @ 5780:d2286df8719d v7.4.234

updated for version 7.4.234 Problem: Can't get the command that was used to start Vim. Solution: Add v:progpath. (Viktor Kojouharov)
author Bram Moolenaar <bram@vim.org>
date Tue, 01 Apr 2014 19:55:49 +0200
parents 839cca5ec18d
children 5ab2946f7ce5
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -361,6 +361,7 @@ static struct vimvar
     {VV_NAME("hlsearch",	 VAR_NUMBER), 0},
     {VV_NAME("oldfiles",	 VAR_LIST), 0},
     {VV_NAME("windowid",	 VAR_NUMBER), VV_RO},
+    {VV_NAME("progpath",	 VAR_STRING), VV_RO},
 };
 
 /* shorthand */