diff options
Diffstat (limited to 'src/testdir/setup.vim')
-rw-r--r-- | src/testdir/setup.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/testdir/setup.vim b/src/testdir/setup.vim new file mode 100644 index 000000000..f7e475a81 --- /dev/null +++ b/src/testdir/setup.vim @@ -0,0 +1,11 @@ +" Common preparations for running tests. + +" Make sure 'runtimepath' does not include $HOME. +set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after + +" Only when the +eval feature is present. +if 1 + " Make sure $HOME does not get read or written. + let $HOME = '/does/not/exist' +endif + |