From 0e57c753d60f7bb32e5a9ac9711b54b40bcfd4cf Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 14 Jul 2018 14:30:40 -0400 Subject: vim-patch:8.0.1601: highlight test fails on Win32 Problem: Highlight test fails on Win32. Solution: Check for vtp and vcon support. https://github.com/vim/vim/commit/ff1e8795772a0175017c4c4f74ce33614ea8e73a --- src/nvim/testdir/test_highlight.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim index ce6262c811..33df79581c 100644 --- a/src/nvim/testdir/test_highlight.vim +++ b/src/nvim/testdir/test_highlight.vim @@ -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 -- cgit