Mercurial > vim
comparison src/testdir/test_highlight.vim @ 16611:96e93765d0d6 v8.1.1308
patch 8.1.1308: the Normal highlight is not defined when compiled with GUI
commit https://github.com/vim/vim/commit/f90b6e03a983b62b66564fc449e32724d6456769
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 9 19:26:38 2019 +0200
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 https://github.com/vim/vim/issues/4072)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 May 2019 19:30:07 +0200 |
parents | f362d695bcf9 |
children | 850e13b71c1c |
comparison
equal
deleted
inserted
replaced
16610:1eaf34420bb3 | 16611:96e93765d0d6 |
---|---|
570 | 570 |
571 " clean up | 571 " clean up |
572 call StopVimInTerminal(buf) | 572 call StopVimInTerminal(buf) |
573 call delete('Xtest_cursorline_with_visualmode') | 573 call delete('Xtest_cursorline_with_visualmode') |
574 endfunc | 574 endfunc |
575 | |
576 func Test_1_highlight_Normalgroup_exists() | |
577 " This test must come before the Test_cursorline test, as it appears this | |
578 " defines the Normal highlighting group anyway. | |
579 let hlNormal = HighlightArgs('Normal') | |
580 call assert_match('hi Normal\s*clear', hlNormal) | |
581 endfunc |