changeset 36390:7f8b4a8ff42b draft

runtime(syntax-tests): tiny vim fails because of line-continuation Commit: https://github.com/vim/vim/commit/de79f9129adca68f4b209c95a04500e97f626c5e Author: Christian Brabandt <cb@256bit.org> Date: Thu Oct 24 23:03:10 2024 +0200 runtime(syntax-tests): tiny vim fails because of line-continuation 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>
author Christian Brabandt <cb@256bit.org>
date Thu, 24 Oct 2024 23:15:03 +0200
parents e15f9368cb27
children 4505176d2589
files runtime/syntax/testdir/runtest.vim
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/syntax/testdir/runtest.vim
+++ b/runtime/syntax/testdir/runtest.vim
@@ -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