]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1781 v7.4.1781
authorBram Moolenaar <Bram@vim.org>
Sat, 23 Apr 2016 13:19:02 +0000 (15:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 23 Apr 2016 13:19:02 +0000 (15:19 +0200)
Problem:    synIDattr() does not respect 'guicolors'.
Solution:   Change the conditition for the mode. (Christian Brabandt)

src/eval.c
src/version.c

index a3fe2a2775c285d4bf167ef95c24ccf491e6d15b..b3ebbd7276415abea17766709a77eb64d01b2640 100644 (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
index 4bd5f7eb8225629a7e0e3e242080b580ca133845..2ae156cda469123c00c1832a99ca0e81c41878c5 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1781,
 /**/
     1780,
 /**/