1
0
forked from aniani/vim
Files
vim/src/testdir/setup.vim
Bram Moolenaar c96a2f3b88 patch 7.4.2167
Problem:    Small build can't run tests.
Solution:   Don't try setting 'packpath'.
2016-08-06 19:45:31 +02:00

15 lines
347 B
VimL

" Common preparations for running tests.
" Make sure 'runtimepath' and 'packpath' does not include $HOME.
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
if has('packages')
let &packpath = &rtp
endif
" Only when the +eval feature is present.
if 1
" Make sure $HOME does not get read or written.
let $HOME = '/does/not/exist'
endif