diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-01 19:55:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-01 19:55:49 +0200 |
commit | a1706c958e69086f5c9eb7d79779ed839441ff60 (patch) | |
tree | 463db91f8647a09dd3fc392115886c5e8ee5f261 /runtime | |
parent | 31b7d38611541030fe54898a7d8b6a714fa0fa59 (diff) | |
download | vim-git-a1706c958e69086f5c9eb7d79779ed839441ff60.tar.gz |
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 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 78237ec9a..66ee3aa2f 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1558,6 +1558,12 @@ v:progname Contains the name (with path removed) with which Vim was |evim| etc., or any other name you might symlink to Vim. Read-only. + *v:progpath* *progpath-variable* +v:progpath Contains the command with which Vim was invoked, including the + path. Useful if you want to message a Vim server using a + |--remote-expr|. + Read-only. + *v:register* *register-variable* v:register The name of the register in effect for the current normal mode command (regardless of whether that command actually used a |