summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index d7c482d54..8444db38c 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, int *boldp)
else
color = color_numbers_8[idx];
}
+#ifdef FEAT_TERMRESPONSE
if (t_colors >= 256 && color == 15 && is_mac_terminal)
/* Terminal.app has a bug: 15 is light grey. Use white
* from the color cube instead. */
color = 231;
+#endif
}
return color;
}