vim-patch:8.0.1601: highlight test fails on Win32

Problem:    Highlight test fails on Win32.
Solution:   Check for vtp and vcon support.
ff1e879577
This commit is contained in:
Jan Edmund Lazo 2018-07-14 14:30:40 -04:00
parent e105e1242a
commit 0e57c753d6

View File

@ -519,6 +519,11 @@ func Test_termguicolors()
if !exists('+termguicolors')
return
endif
if has('vtp') && !has('vcon')
" Win32: 'guicolors' doesn't work without virtual console.
call assert_fails('set termguicolors', 'E954:')
return
endif
" Basic test that setting 'termguicolors' works with one color.
set termguicolors