mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.2b-030
This commit is contained in:
11
src/syntax.c
11
src/syntax.c
@@ -6459,13 +6459,16 @@ init_highlight(both, reset)
|
|||||||
/* Reverse looks ugly, but grey may not work for 8 colors. Thus let it
|
/* Reverse looks ugly, but grey may not work for 8 colors. Thus let it
|
||||||
* depend on the number of colors available.
|
* depend on the number of colors available.
|
||||||
* With 8 colors brown is equal to yellow, need to use black for Search fg
|
* With 8 colors brown is equal to yellow, need to use black for Search fg
|
||||||
* to avoid Statement highlighted text disappears. */
|
* to avoid Statement highlighted text disappears.
|
||||||
|
* Clear the attributes, needed when changing the t_Co value. */
|
||||||
if (t_colors > 8)
|
if (t_colors > 8)
|
||||||
do_highlight((char_u *)(*p_bg == 'l' ? "Visual ctermbg=LightGrey"
|
do_highlight((char_u *)(*p_bg == 'l'
|
||||||
: "Visual ctermbg=DarkGrey"), FALSE, TRUE);
|
? "Visual cterm=NONE ctermbg=LightGrey"
|
||||||
|
: "Visual cterm=NONE ctermbg=DarkGrey"), FALSE, TRUE);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
do_highlight((char_u *)"Visual cterm=reverse", FALSE, TRUE);
|
do_highlight((char_u *)"Visual cterm=reverse ctermbg=NONE",
|
||||||
|
FALSE, TRUE);
|
||||||
if (*p_bg == 'l')
|
if (*p_bg == 'l')
|
||||||
do_highlight((char_u *)"Search ctermfg=black", FALSE, TRUE);
|
do_highlight((char_u *)"Search ctermfg=black", FALSE, TRUE);
|
||||||
}
|
}
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
30,
|
||||||
/**/
|
/**/
|
||||||
29,
|
29,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user