aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-14 14:30:40 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 21:56:39 -0400
commit0e57c753d60f7bb32e5a9ac9711b54b40bcfd4cf (patch)
tree50a10ba28df8f23ff322f5005ac4c2626b20588b /src
parente105e1242a87ed413190ca213c4944393e6089b3 (diff)
downloadrneovim-0e57c753d60f7bb32e5a9ac9711b54b40bcfd4cf.tar.gz
rneovim-0e57c753d60f7bb32e5a9ac9711b54b40bcfd4cf.tar.bz2
rneovim-0e57c753d60f7bb32e5a9ac9711b54b40bcfd4cf.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_highlight.vim5
1 files changed, 5 insertions, 0 deletions
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