To: vim_dev@googlegroups.com Subject: Patch 8.0.1601 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1601 Problem: Highlight test fails on Win32. Solution: Check for vtp and vcon support. Files: src/evalfunc.c, src/testdir/test_highlight.vim *** ../vim-8.0.1600/src/evalfunc.c 2018-03-10 20:27:32.075757637 +0100 --- src/evalfunc.c 2018-03-12 22:12:50.791161168 +0100 *************** *** 6198,6203 **** --- 6198,6206 ---- #ifdef FEAT_VREPLACE "vreplace", #endif + #ifdef FEAT_VTP + "vtp", + #endif #ifdef FEAT_WILDIGN "wildignore", #endif *** ../vim-8.0.1600/src/testdir/test_highlight.vim 2018-03-12 21:48:27.492618748 +0100 --- src/testdir/test_highlight.vim 2018-03-12 22:16:02.685940810 +0100 *************** *** 519,524 **** --- 519,529 ---- 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 *** ../vim-8.0.1600/src/version.c 2018-03-12 21:48:27.492618748 +0100 --- src/version.c 2018-03-12 22:15:25.182179042 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1601, /**/ -- Contrary to popular belief, it's often your clothing that gets promoted, not you. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///