]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(syntax-tests): tiny vim fails because of line-continuation
authorChristian Brabandt <cb@256bit.org>
Thu, 24 Oct 2024 21:03:10 +0000 (23:03 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 24 Oct 2024 21:03:10 +0000 (23:03 +0200)
Problem:  tiny vim fails because of line-continuation, although
          the test script should be skipped for non-eval builds of Vim.
Solution: :set cpo&vim

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/testdir/runtest.vim

index 0758bcbfa5e7edf807b2a301e213902cfafb95cb..2fba6a6cc56a04f189923365cc3f614dd079648b 100644 (file)
@@ -2,6 +2,9 @@
 "
 " Current directory must be runtime/syntax.
 
+" needed because of line-continuation lines
+set cpo&vim
+
 " Only do this with the +eval feature
 if 1