On 14-Mar-2014 08:20 +0100, Jürgen Krämer wrote:

> Hi,
> 
> Viktor Kojouharov wrote:
>> To easily use the remote-expr feature. You need to start a new
>> instance of vim and point it to the current running vim server. And I
>> need the full executable path in order to start the remote-expr. Vim
>> is usually in the path on linux systems, but that's not the case on
>> windows and macvim
>>
> 
> at least on Windows Vim puts its own directory at the end of the %PATH%
> environment variable. You can check this with ":echo $PATH". So there is
> no need to use a full path to the Vim executable.

If this is for a plugin, I'd also keep this Simple and Stupid: Just
allow (users, individual systems) to specify a full path via a
configuration variable, and default to "vim" found via the PATH, which
should already work on most systems.

Even with a suggested new v:progpath variable, you'd need to handle
older Vim versions, anyway.

-- regards, ingo

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui