From: Bram Moolenaar Date: Sat, 23 Apr 2016 13:19:02 +0000 (+0200) Subject: patch 7.4.1781 X-Git-Tag: v7.4.1781 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da5b3dcf06a3af5b398450258be32b0416451a9b;p=thirdparty%2Fvim.git 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 a3fe2a2775..b3ebbd7276 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 4bd5f7eb82..2ae156cda4 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, /**/