comparison src/eval.c @ 8991:42e85487c0f9 v7.4.1781

commit https://github.com/vim/vim/commit/da5b3dcf06a3af5b398450258be32b0416451a9b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 23 15:19:02 2016 +0200 patch 7.4.1781 Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Apr 2016 15:30:06 +0200
parents 42beb54724fa
children 2085167ab1b0
comparison
equal deleted inserted replaced
8990:9780999ee224 8991:42e85487c0f9
20017 if (modec != 't' && modec != 'c' && modec != 'g') 20017 if (modec != 't' && modec != 'c' && modec != 'g')
20018 modec = 0; /* replace invalid with current */ 20018 modec = 0; /* replace invalid with current */
20019 } 20019 }
20020 else 20020 else
20021 { 20021 {
20022 #ifdef FEAT_GUI 20022 #if defined(FEAT_GUI) || defined(FEAT_TERMTRUECOLOR)
20023 if (gui.in_use) 20023 if (USE_24BIT)
20024 modec = 'g'; 20024 modec = 'g';
20025 else 20025 else
20026 #endif 20026 #endif
20027 if (t_colors > 1) 20027 if (t_colors > 1)
20028 modec = 'c'; 20028 modec = 'c';