summaryrefslogtreecommitdiff
path: root/src/testdir/test_syntax.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-24 16:51:32 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-24 16:51:32 +0100
commit6acadda8d60892ddf06449f1cc4286912b0c0c2b (patch)
tree3536cc5a0a4d8dc1140640c745aee112d0dd02d0 /src/testdir/test_syntax.vim
parentb7ea7cb8e430ea096b4c452cdc9c3299819e6d6b (diff)
downloadvim-git-6acadda8d60892ddf06449f1cc4286912b0c0c2b.tar.gz
patch 8.0.1535: C syntax test still fails when using gvimv8.0.1535
Problem: C syntax test still fails when using gvim. Solution: Clear Normal cterm highlighting instead of setting it.
Diffstat (limited to 'src/testdir/test_syntax.vim')
-rw-r--r--src/testdir/test_syntax.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim
index 1969152a2..ca87ccf66 100644
--- a/src/testdir/test_syntax.vim
+++ b/src/testdir/test_syntax.vim
@@ -428,6 +428,8 @@ func Test_bg_detection()
set bg=dark
hi Normal ctermbg=12
call assert_equal('dark', &bg)
+
+ hi Normal ctermbg=NONE
endfunc
func Test_syntax_hangs()