forked from aniani/vim
patch 9.1.0277: Cannot highlight the Command-line
Problem: Cannot highlight the Command-line
Solution: Add the MsgArea highlighting group
(Shougo Matsushita)
closes: #14327
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7005b7ee7f
commit
be2b03c6ee
@@ -856,6 +856,15 @@ func Test_highlight_User()
|
||||
hi clear
|
||||
endfunc
|
||||
|
||||
" Test for MsgArea highlighting
|
||||
func Test_highlight_MsgArea()
|
||||
CheckNotGui
|
||||
hi MsgArea ctermfg=20
|
||||
redraw!
|
||||
call assert_equal('20', synIDattr(synIDtrans(hlID('MsgArea')), 'fg'))
|
||||
hi clear
|
||||
endfunc
|
||||
|
||||
" Test for using RGB color values in a highlight group
|
||||
func Test_xxlast_highlight_RGB_color()
|
||||
CheckCanRunGui
|
||||
|
||||
Reference in New Issue
Block a user