diff runtime/indent/testdir/runtest.vim @ 15178:5c3ca8f7adea v8.1.0599

patch 8.1.0599: without the +eval feature the indent tests don't work commit https://github.com/vim/vim/commit/eeed665b0ecd917e88e3475c9615d52546aa124d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 17:43:42 2018 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 17:45:04 +0100
parents 3f82f25df8d2
children 8b334e4cb97f
line wrap: on
line diff
--- a/runtime/indent/testdir/runtest.vim
+++ b/runtime/indent/testdir/runtest.vim
@@ -2,6 +2,9 @@
 "
 " Current directory must be runtime/indent.
 
+" Only do this with the +eval feature
+if 1
+
 set nocp
 filetype indent on
 set nowrapscan
@@ -116,4 +119,7 @@ for fname in glob('testdir/*.in', 1, 1)
   endif
 endfor
 
+" Matching "if 1" at the start.
+endif
+
 qall!