Mirror of the Vim source from https://github.com/vim/vim
Revisão | 2f9308b31181f36bf605ee060fa763a28deacb03 (tree) |
---|---|
Hora | 2008-08-06 22:28:57 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.2b-030
@@ -6459,13 +6459,16 @@ | ||
6459 | 6459 | /* Reverse looks ugly, but grey may not work for 8 colors. Thus let it |
6460 | 6460 | * depend on the number of colors available. |
6461 | 6461 | * With 8 colors brown is equal to yellow, need to use black for Search fg |
6462 | - * to avoid Statement highlighted text disappears. */ | |
6462 | + * to avoid Statement highlighted text disappears. | |
6463 | + * Clear the attributes, needed when changing the t_Co value. */ | |
6463 | 6464 | if (t_colors > 8) |
6464 | - do_highlight((char_u *)(*p_bg == 'l' ? "Visual ctermbg=LightGrey" | |
6465 | - : "Visual ctermbg=DarkGrey"), FALSE, TRUE); | |
6465 | + do_highlight((char_u *)(*p_bg == 'l' | |
6466 | + ? "Visual cterm=NONE ctermbg=LightGrey" | |
6467 | + : "Visual cterm=NONE ctermbg=DarkGrey"), FALSE, TRUE); | |
6466 | 6468 | else |
6467 | 6469 | { |
6468 | - do_highlight((char_u *)"Visual cterm=reverse", FALSE, TRUE); | |
6470 | + do_highlight((char_u *)"Visual cterm=reverse ctermbg=NONE", | |
6471 | + FALSE, TRUE); | |
6469 | 6472 | if (*p_bg == 'l') |
6470 | 6473 | do_highlight((char_u *)"Search ctermfg=black", FALSE, TRUE); |
6471 | 6474 | } |
@@ -677,6 +677,8 @@ | ||
677 | 677 | static int included_patches[] = |
678 | 678 | { /* Add new patch number below this line */ |
679 | 679 | /**/ |
680 | + 30, | |
681 | +/**/ | |
680 | 682 | 29, |
681 | 683 | /**/ |
682 | 684 | 28, |