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 -- b...@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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui