aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-24 23:43:56 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-24 23:44:54 -0400
commit56a96d8f8299c9b29bb3ed2e35efde3086c322dc (patch)
tree984f33e446c29718a38d9d968b13ad9c36b9ebe4
parente7901301d3bb118fb0e737c9a037ec13e97bc999 (diff)
downloadrneovim-56a96d8f8299c9b29bb3ed2e35efde3086c322dc.tar.gz
rneovim-56a96d8f8299c9b29bb3ed2e35efde3086c322dc.tar.bz2
rneovim-56a96d8f8299c9b29bb3ed2e35efde3086c322dc.zip
vim-patch:8.0.1535: C syntax test still fails when using gvim
Problem: C syntax test still fails when using gvim. Solution: Clear Normal cterm highlighting instead of setting it. https://github.com/vim/vim/commit/6acadda8d60892ddf06449f1cc4286912b0c0c2b
-rw-r--r--src/nvim/testdir/test_syntax.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index 850947f89f..a3de879b2a 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -466,6 +466,8 @@ func Test_bg_detection()
set bg=dark
hi Normal ctermbg=12
call assert_equal('dark', &bg)
+
+ hi Normal ctermbg=NONE
endfunc
fun Test_synstack_synIDtrans()