commit | da5b3dcf06a3af5b398450258be32b0416451a9b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 15:19:02 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 15:19:02 2016 +0200 |
tree | 4f672fdd7cfec18219ad31901b44d89e51c04514 | |
parent | dc633cf82758f67f656cda7fa8ccc30414ee53f8 [diff] [blame] |
patch 7.4.1781 Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt)
diff --git a/src/eval.c b/src/eval.c index a3fe2a2..b3ebbd7 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -20019,8 +20019,8 @@ } else { -#ifdef FEAT_GUI - if (gui.in_use) +#if defined(FEAT_GUI) || defined(FEAT_TERMTRUECOLOR) + if (USE_24BIT) modec = 'g'; else #endif