mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00: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:
@@ -519,6 +519,11 @@ func Test_termguicolors()
|
|||||||
if !exists('+termguicolors')
|
if !exists('+termguicolors')
|
||||||
return
|
return
|
||||||
endif
|
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.
|
" Basic test that setting 'termguicolors' works with one color.
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
Reference in New Issue
Block a user