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
diff --git a/src/version.c b/src/version.c
index 4bd5f7e..2ae156c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1781,
+/**/
1780,
/**/
1779,