diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-05 22:51:49 -0500 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-06 00:18:02 -0500 |
| commit | 3c764aabb5d4be71a5ea0d50bf8dae0a7285677f (patch) | |
| tree | ac378578c34bdf175816d8e4939eb0364eb746d7 /src/nvim/testdir | |
| parent | 1aacab49ea0e5cff94bd89595737b6af677f4490 (diff) | |
| download | rneovim-3c764aabb5d4be71a5ea0d50bf8dae0a7285677f.tar.gz rneovim-3c764aabb5d4be71a5ea0d50bf8dae0a7285677f.tar.bz2 rneovim-3c764aabb5d4be71a5ea0d50bf8dae0a7285677f.zip | |
vim-patch:8.1.1308: the Normal highlight is not defined when compiled with GUI
Problem: The Normal highlight is not defined when compiled with GUI.
Solution: Always define Normal. (Christian Brabandt, closes vim/vim#4072)
https://github.com/vim/vim/commit/f90b6e03a983b62b66564fc449e32724d6456769
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_highlight.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim index d94eb7c3a2..b9aeff0907 100644 --- a/src/nvim/testdir/test_highlight.vim +++ b/src/nvim/testdir/test_highlight.vim @@ -591,3 +591,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 |