summaryrefslogtreecommitdiff
path: root/src/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-16 16:57:06 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-16 16:57:06 +0200
commit9115c611dbd3e4abab583eade6888421f66077e7 (patch)
treeeb04fce946de203caf01d639decf235f56bae8c1 /src/testdir/test_syntax.vim
parenta3817730c0a38ed6371b38b6db2e08547ecc674d (diff)
downloadvim-git-9115c611dbd3e4abab583eade6888421f66077e7.tar.gz
patch 8.1.2156: first character after Tab is not highlightedv8.1.2156
Problem: First character after Tab is not highlighted. Solution: Remember the syntax attribute for a column.
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r--src/testdir/test_syntax.vim8
1 files changed, 4 insertions, 4 deletions
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')