mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
95a4244587
commit
fa94c4c2d9
@ -39,6 +39,9 @@ if &lines < 24 || &columns < 80
|
|||||||
cquit
|
cquit
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Common with all tests on all systems.
|
||||||
|
source setup.vim
|
||||||
|
|
||||||
" This also enables use of line continuation.
|
" This also enables use of line continuation.
|
||||||
set viminfo+=nviminfo
|
set viminfo+=nviminfo
|
||||||
|
|
||||||
@ -59,9 +62,6 @@ lang mess C
|
|||||||
" Always use forward slashes.
|
" Always use forward slashes.
|
||||||
set shellslash
|
set shellslash
|
||||||
|
|
||||||
" Make sure $HOME does not get read or written.
|
|
||||||
let $HOME = '/does/not/exist'
|
|
||||||
|
|
||||||
" Align with vim defaults.
|
" Align with vim defaults.
|
||||||
set directory^=.
|
set directory^=.
|
||||||
set nohidden
|
set nohidden
|
||||||
|
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'
|
@ -409,7 +409,7 @@ static int included_patches[] = {
|
|||||||
// 2034 NA
|
// 2034 NA
|
||||||
2033,
|
2033,
|
||||||
// 2032 NA
|
// 2032 NA
|
||||||
// 2031,
|
2031,
|
||||||
// 2030 NA
|
// 2030 NA
|
||||||
// 2029,
|
// 2029,
|
||||||
2028,
|
2028,
|
||||||
|
Loading…
Reference in New Issue
Block a user