summaryrefslogtreecommitdiff
path: root/src/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-18 23:12:20 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-18 23:12:20 +0200
commit8459006af5e78bd0bd6dcfc6d54ddac35a91ee1c (patch)
treead84321d723ff6f4648987ae5da7d00946b10ed0 /src/testdir/test_syntax.vim
parentc3bf7b56f2703e2d6f36dfb05fd32b5b43ce3c3f (diff)
downloadvim-git-8459006af5e78bd0bd6dcfc6d54ddac35a91ee1c.tar.gz
patch 8.1.2176: syntax attributes not combined with Visual highlightingv8.1.2176
Problem: Syntax attributes not combined with Visual highlighting. (Arseny Nasokin) Solution: Combine the attributes. (closes #5083)
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r--src/testdir/test_syntax.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim
index c7d6f2db8..6705c57b5 100644
--- a/src/testdir/test_syntax.vim
+++ b/src/testdir/test_syntax.vim
@@ -551,7 +551,7 @@ func Test_syntax_c()
\ '}',
\ ' static void',
\ 'myFunction(const double count, struct nothing, long there) {',
- \ "\t// 123: nothing to read here",
+ \ "\t// 123: nothing to endif here",
\ "\tfor (int i = 0; i < count; ++i) {",
\ "\t break;",
\ "\t}",
@@ -563,7 +563,12 @@ func Test_syntax_c()
let $COLORFGBG = '15;0'
let buf = RunVimInTerminal('Xtest.c', {})
+ call term_sendkeys(buf, ":set hlsearch\r")
+ call term_sendkeys(buf, "/endif\r")
+ call term_sendkeys(buf, "vjfC")
call VerifyScreenDump(buf, 'Test_syntax_c_01', {})
+
+ call term_sendkeys(buf, "\<Esc>")
call StopVimInTerminal(buf)
let $COLORFGBG = ''