comparison 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
comparison
equal deleted inserted replaced
18322:66c41b8b89ae 18323:72a0dbe1c004
549 \ ' printf("Just an example piece of C code\n");', 549 \ ' printf("Just an example piece of C code\n");',
550 \ ' return 0x0ff;', 550 \ ' return 0x0ff;',
551 \ '}', 551 \ '}',
552 \ ' static void', 552 \ ' static void',
553 \ 'myFunction(const double count, struct nothing, long there) {', 553 \ 'myFunction(const double count, struct nothing, long there) {',
554 \ ' // 123: nothing to read here', 554 \ "\t// 123: nothing to read here",
555 \ ' for (int i = 0; i < count; ++i) {', 555 \ "\tfor (int i = 0; i < count; ++i) {",
556 \ ' break;', 556 \ "\t break;",
557 \ ' }', 557 \ "\t}",
558 \ '}', 558 \ '}',
559 \ ], 'Xtest.c') 559 \ ], 'Xtest.c')
560 560
561 " This makes the default for 'background' use "dark", check that the 561 " This makes the default for 'background' use "dark", check that the
562 " response to t_RB corrects it to "light". 562 " response to t_RB corrects it to "light".