mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
vim-patch:8.1.0599: without the +eval feature the indent tests don't work
Problem: Without the +eval feature the indent tests don't work.
Solution: Skip the body of the tests.
eeed665b0e
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
|
" Only do this with the +eval feature
|
||||||
|
if 1
|
||||||
|
|
||||||
" Deletes all the test output files: *.fail and *.out
|
" Deletes all the test output files: *.fail and *.out
|
||||||
for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
|
for fname in glob('testdir/*.out', 1, 1) + glob('testdir/*.fail', 1, 1)
|
||||||
call delete(fname)
|
call delete(fname)
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
quit
|
quit
|
||||||
|
@@ -2,6 +2,9 @@
|
|||||||
"
|
"
|
||||||
" Current directory must be runtime/indent.
|
" Current directory must be runtime/indent.
|
||||||
|
|
||||||
|
" Only do this with the +eval feature
|
||||||
|
if 1
|
||||||
|
|
||||||
set nocp
|
set nocp
|
||||||
filetype indent on
|
filetype indent on
|
||||||
set nowrapscan
|
set nowrapscan
|
||||||
@@ -116,4 +119,7 @@ for fname in glob('testdir/*.in', 1, 1)
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
|
" Matching "if 1" at the start.
|
||||||
|
endif
|
||||||
|
|
||||||
qall!
|
qall!
|
||||||
|
Reference in New Issue
Block a user