# HG changeset patch # User Christian Brabandt # Date 1461418206 -7200 # Node ID 42e85487c0f9a26290ec0b97db518442df51a9b6 # Parent 9780999ee224d1c184b74b5165758039f74ae369 commit https://github.com/vim/vim/commit/da5b3dcf06a3af5b398450258be32b0416451a9b Author: Bram Moolenaar 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) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -20019,8 +20019,8 @@ f_synIDattr(typval_T *argvars UNUSED, ty } 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 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1781, +/**/ 1780, /**/ 1779,