mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e105e1242a
commit
0e57c753d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user