Patch 8.1.0997
Problem:    Using GUI colors in vim.exe when 'termguicolors' is off.
Solution:   Add condition for 'termguicolors' set. (Ken Takata, closes #4078)
Files:      src/os_win32.c


*** ../vim-8.1.0996/src/os_win32.c      2019-03-02 10:13:36.796974835 +0100
--- src/os_win32.c      2019-03-07 06:39:34.779317778 +0100
***************
*** 7844,7850 ****
        return;
  
      id = syn_name2id((char_u *)"Normal");
!     if (id > 0)
        syn_id2colors(id, &fg, &bg);
      if (fg == INVALCOLOR)
      {
--- 7844,7850 ----
        return;
  
      id = syn_name2id((char_u *)"Normal");
!     if (id > 0 && p_tgc)
        syn_id2colors(id, &fg, &bg);
      if (fg == INVALCOLOR)
      {
*** ../vim-8.1.0996/src/version.c       2019-03-05 13:26:49.752005833 +0100
--- src/version.c       2019-03-07 06:40:14.999021501 +0100
***************
*** 781,782 ****
--- 781,784 ----
  {   /* Add new patch number below this line */
+ /**/
+     997,
  /**/

-- 
Bumper sticker: Honk if you love peace and quiet.

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui