0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0147

This commit is contained in:
Bram Moolenaar
2005-09-14 21:40:12 +00:00
parent cd292719e0
commit ab194816fe
8 changed files with 229 additions and 44 deletions

View File

@@ -6163,6 +6163,12 @@ init_highlight(both, reset)
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.