diff options
Diffstat (limited to 'src/nvim/testdir/setup.vim')
| -rw-r--r-- | src/nvim/testdir/setup.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim new file mode 100644 index 0000000000..06f2199214 --- /dev/null +++ b/src/nvim/testdir/setup.vim @@ -0,0 +1,12 @@ +" Common preparations for running tests. + +set noruler +set noshowcmd +set belloff= + +" Make sure 'runtimepath' and 'packpath' does not include $HOME. +set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after +let &packpath = &rtp + +" Make sure $HOME does not get read or written. +let $HOME = '/does/not/exist' |