From da5b3dcf06a3af5b398450258be32b0416451a9b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 23 Apr 2016 15:19:02 +0200 Subject: patch 7.4.1781 Problem: synIDattr() does not respect 'guicolors'. Solution: Change the conditition for the mode. (Christian Brabandt) --- src/eval.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/eval.c b/src/eval.c index a3fe2a277..b3ebbd727 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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 diff --git a/src/version.c b/src/version.c index 4bd5f7eb8..2ae156cda 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1781, /**/ 1780, /**/ -- cgit v1.2.1