updated for version 7.0147
diff --git a/src/syntax.c b/src/syntax.c
index 116b724..a04b81b 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -6163,6 +6163,12 @@
for (i = 0; pp[i] != NULL; ++i)
do_highlight((char_u *)pp[i], reset, TRUE);
+ /* Magenta background looks ugly, but grey may not work for 8 colors.
+ * Thus let it depend on the number of colors available. */
+ if (t_colors > 8)
+ do_highlight((char_u *)(*p_bg == 'l' ? "Visual ctermbg=LightGrey"
+ : "Visual ctermbg=DarkGrey"), reset, TRUE);
+
#ifdef FEAT_SYN_HL
/*
* If syntax highlighting is enabled load the highlighting for it.