0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.1781

Problem:    synIDattr() does not respect 'guicolors'.
Solution:   Change the conditition for the mode. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2016-04-23 15:19:02 +02:00
parent dc633cf827
commit da5b3dcf06
2 changed files with 4 additions and 2 deletions

View File

@@ -20019,8 +20019,8 @@ f_synIDattr(typval_T *argvars UNUSED, typval_T *rettv)
}
else
{
#ifdef FEAT_GUI
if (gui.in_use)
#if defined(FEAT_GUI) || defined(FEAT_TERMTRUECOLOR)
if (USE_24BIT)
modec = 'g';
else
#endif