Don't rely on having the tmux/screen cwd being in the project directory.
Instead, let's just change the runtime path to include a pointer to the top of the tree.
This commit is contained in:
parent
9028abd95e
commit
1f3f1ce641
@ -341,7 +341,8 @@ class VimTestCase(unittest.TestCase, TempFileManager):
|
|||||||
|
|
||||||
vim_config = []
|
vim_config = []
|
||||||
vim_config.append('set nocompatible')
|
vim_config.append('set nocompatible')
|
||||||
vim_config.append('set runtimepath=$VIMRUNTIME,.,%s' % self._temp_dir)
|
vim_config.append('set runtimepath=$VIMRUNTIME,%s,%s' % (
|
||||||
|
os.path.dirname(os.path.dirname(__file__)), self._temp_dir))
|
||||||
|
|
||||||
if self.plugins:
|
if self.plugins:
|
||||||
self._link_file(os.path.join(plugin_cache_dir(), "vim-pathogen", "autoload"), ".")
|
self._link_file(os.path.join(plugin_cache_dir(), "vim-pathogen", "autoload"), ".")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user