summaryrefslogtreecommitdiff
path: root/src/testdir/test_highlight.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-09 19:26:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-09 19:26:38 +0200
commitf90b6e03a983b62b66564fc449e32724d6456769 (patch)
treee29d2d7e9000428efac5d10fa705f2359f655c7e /src/testdir/test_highlight.vim
parenta6c27c47ddf081859659d7de1caec675147e466b (diff)
downloadvim-git-f90b6e03a983b62b66564fc449e32724d6456769.tar.gz
patch 8.1.1308: the Normal highlight is not defined when compiled with GUIv8.1.1308
Problem: The Normal highlight is not defined when compiled with GUI. Solution: Always define Normal. (Christian Brabandt, closes #4072)
Diffstat (limited to 'src/testdir/test_highlight.vim')
-rw-r--r--src/testdir/test_highlight.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim
index e16abf183..24379d626 100644
--- a/src/testdir/test_highlight.vim
+++ b/src/testdir/test_highlight.vim
@@ -572,3 +572,10 @@ func Test_cursorline_with_visualmode()
call StopVimInTerminal(buf)
call delete('Xtest_cursorline_with_visualmode')
endfunc
+
+func Test_1_highlight_Normalgroup_exists()
+ " This test must come before the Test_cursorline test, as it appears this
+ " defines the Normal highlighting group anyway.
+ let hlNormal = HighlightArgs('Normal')
+ call assert_match('hi Normal\s*clear', hlNormal)
+endfunc