mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2375: test for RGB color skipped in the terminal
Problem: Test for RGB color skipped in the terminal. Solution: Run the GUI if possible.
This commit is contained in:
@@ -781,8 +781,9 @@ func Test_highlight_User()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for using RGB color values in a highlight group
|
" Test for using RGB color values in a highlight group
|
||||||
func Test_highlight_RGB_color()
|
func Test_xxlast_highlight_RGB_color()
|
||||||
CheckGui
|
CheckCanRunGui
|
||||||
|
gui -f
|
||||||
hi MySearch guifg=#110000 guibg=#001100 guisp=#000011
|
hi MySearch guifg=#110000 guibg=#001100 guisp=#000011
|
||||||
call assert_equal('#110000', synIDattr(synIDtrans(hlID('MySearch')), 'fg#'))
|
call assert_equal('#110000', synIDattr(synIDtrans(hlID('MySearch')), 'fg#'))
|
||||||
call assert_equal('#001100', synIDattr(synIDtrans(hlID('MySearch')), 'bg#'))
|
call assert_equal('#001100', synIDattr(synIDtrans(hlID('MySearch')), 'bg#'))
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2375,
|
||||||
/**/
|
/**/
|
||||||
2374,
|
2374,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user