diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-06 06:52:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-06 06:52:52 -0800 |
| commit | 83b0054b87f82583873a6e7ef291507c580618b1 (patch) | |
| tree | 1e3e8c3ee47b084e774c65f16950350afbd7a1cf /src/nvim/testdir/test_highlight.vim | |
| parent | fa9b057d356edb9de7c778d62aed8d2451de56fb (diff) | |
| parent | 83083dd47b0c2880e4e1401f1c751013c533d57f (diff) | |
| download | rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.gz rneovim-83b0054b87f82583873a6e7ef291507c580618b1.tar.bz2 rneovim-83b0054b87f82583873a6e7ef291507c580618b1.zip | |
Merge #11674 'vim-patch:8.0.1786,8.1.{851,1308,1309,1579}'
Diffstat (limited to 'src/nvim/testdir/test_highlight.vim')
| -rw-r--r-- | src/nvim/testdir/test_highlight.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim index d94eb7c3a2..a320e8edc8 100644 --- a/src/nvim/testdir/test_highlight.vim +++ b/src/nvim/testdir/test_highlight.vim @@ -591,3 +591,13 @@ func Test_cursorline_with_visualmode() call StopVimInTerminal(buf) call delete('Xtest_cursorline_with_visualmode') endfunc + +" This test must come before the Test_cursorline test, as it appears this +" defines the Normal highlighting group anyway. +func Test_1_highlight_Normalgroup_exists() + " MS-Windows GUI sets the font + if !has('win32') || !has('gui_running') + let hlNormal = HighlightArgs('Normal') + call assert_match('hi Normal\s*clear', hlNormal) + endif +endfunc |