On 7/4/06, Matthias-Christian Ott <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to execute a ruby script which is located in ~/.vim/plugin.
How can I get the path of the script (if it's not in ~/.vim/plugin?

let script_dir=expand("<sfile>:p:h")

:help <sfile>

Yakov

Reply via email to