diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-06 13:28:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-06 13:28:57 +0000 |
commit | da40c8536c2b7bdbd1d192ee1aa3045e2119675e (patch) | |
tree | 96b53dd507a114744f72740395310de9171667d8 | |
parent | c62e2fe59e06224fcf2fc4fa701be5c3bc25d984 (diff) | |
download | vim-git-da40c8536c2b7bdbd1d192ee1aa3045e2119675e.tar.gz |
updated for version 7.2b-030v7.2b.030
-rw-r--r-- | src/syntax.c | 11 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6ff828284..5ec86c749 100644 --- a/src/syntax.c +++ b/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 * depend on the number of colors available. * 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) - do_highlight((char_u *)(*p_bg == 'l' ? "Visual ctermbg=LightGrey" - : "Visual ctermbg=DarkGrey"), FALSE, TRUE); + do_highlight((char_u *)(*p_bg == 'l' + ? "Visual cterm=NONE ctermbg=LightGrey" + : "Visual cterm=NONE ctermbg=DarkGrey"), FALSE, TRUE); 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') do_highlight((char_u *)"Search ctermfg=black", FALSE, TRUE); } diff --git a/src/version.c b/src/version.c index f105e7223..3e86a5a1b 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 30, +/**/ 29, /**/ 28, |