Hi,

I have a some vim scripts I wrote:

~/.vim/ftplugin/python
      |--run_tests.vim
      |--run_tests
            |--run_tests.py
            |--etc

Within run_tests.vim, I have a line that currently reads:

    pyfile ~/.vim/ftplugin/python/run_tests/run_tests.py

But this assumes the user has installed the scripts in ~/.vim. Is this a valid assumption? If not, how should I be referencing run_tests.py from within run_tests.vim?

I considered using $VIMHOME, which is defined as ~/.vim on one of my machines, but it is not defined on my other.

Clues much appreciated,

    Jonathan

--
Jonathan Hartley      Made of meat.      http://tartley.com
[email protected]   +44 7737 062 225   twitter/skype: tartley


--
You received this message from the "vim_use" 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

Reply via email to