0
0
mirror of https://github.com/vim/vim.git synced 2025-10-10 06:24:10 -04:00

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.
This commit is contained in:
Bram Moolenaar
2019-10-16 16:57:06 +02:00
parent a3817730c0
commit 9115c611db
4 changed files with 23 additions and 11 deletions

View File

@@ -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')