From 9115c611dbd3e4abab583eade6888421f66077e7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 16 Oct 2019 16:57:06 +0200 Subject: patch 8.1.2156: first character after Tab is not highlighted Problem: First character after Tab is not highlighted. Solution: Remember the syntax attribute for a column. --- src/testdir/test_syntax.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/testdir/test_syntax.vim') diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim index 0479901ce..c7d6f2db8 100644 --- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -551,10 +551,10 @@ func Test_syntax_c() \ '}', \ ' static void', \ 'myFunction(const double count, struct nothing, long there) {', - \ ' // 123: nothing to read here', - \ ' for (int i = 0; i < count; ++i) {', - \ ' break;', - \ ' }', + \ "\t// 123: nothing to read here", + \ "\tfor (int i = 0; i < count; ++i) {", + \ "\t break;", + \ "\t}", \ '}', \ ], 'Xtest.c') -- cgit v1.2.1