commit | d5a5886ce90a30efc830b0053472735c5bbb4b0f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Mar 07 06:40:27 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Mar 07 06:40:27 2019 +0100 |
tree | 4b2fff9fb8cd3f38490941a691fc4efeb46fcb19 | |
parent | 6bb8c66c8ba9adca79c79797a587dc1fd939a784 [diff] [blame] |
patch 8.1.0997: using GUI colors in vim.exe when 'termguicolors' is off Problem: Using GUI colors in vim.exe when 'termguicolors' is off. Solution: Add condition for 'termguicolors' set. (Ken Takata, closes #4078)
diff --git a/src/os_win32.c b/src/os_win32.c index df6f7db..876a7a4 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -7844,7 +7844,7 @@ return; id = syn_name2id((char_u *)"Normal"); - if (id > 0) + if (id > 0 && p_tgc) syn_id2colors(id, &fg, &bg); if (fg == INVALCOLOR) {