1
0
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:
Shougo Matsushita
2024-04-08 22:11:50 +02:00
committed by Christian Brabandt
parent 7005b7ee7f
commit be2b03c6ee
8 changed files with 55 additions and 16 deletions

View File

@@ -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