mirror of
https://github.com/neovim/neovim.git
synced 2026-03-09 10:35:46 +00:00
vim-patch:7.4.2031 (#5955)
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
'textwidth' to a non-zero value. (Oyvind A. Holm)
Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
value. (partly by Christian Brabandt, closes vim/vim#912)
89b10421ca
This commit is contained in:
7
src/nvim/testdir/setup.vim
Normal file
7
src/nvim/testdir/setup.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
" Common preparations for running tests.
|
||||
|
||||
" Make sure 'runtimepath' does not include $HOME.
|
||||
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
|
||||
|
||||
" Make sure $HOME does not get read or written.
|
||||
let $HOME = '/does/not/exist'
|
||||
Reference in New Issue
Block a user