Mercurial > vim
diff src/testdir/test_syntax.vim @ 18323:72a0dbe1c004 v8.1.2156
patch 8.1.2156: first character after Tab is not highlighted
Commit: https://github.com/vim/vim/commit/9115c611dbd3e4abab583eade6888421f66077e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 16:57:06 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 17:00:03 +0200 |
parents | 70f53ec4db93 |
children | ee489bb09ea8 |
line wrap: on
line diff
--- 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')