diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-16 16:57:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-16 16:57:06 +0200 |
commit | 9115c611dbd3e4abab583eade6888421f66077e7 (patch) | |
tree | eb04fce946de203caf01d639decf235f56bae8c1 /src/testdir/test_syntax.vim | |
parent | a3817730c0a38ed6371b38b6db2e08547ecc674d (diff) | |
download | vim-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.vim | 8 |
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') |