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:
Shougo
2017-01-16 20:50:43 +09:00
committed by Justin M. Keyes
parent 95a4244587
commit fa94c4c2d9
3 changed files with 11 additions and 4 deletions

View 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'