]> granicus.if.org Git - vim/commitdiff
updated for version 7.2b-030 v7.2b.030
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Aug 2008 13:28:57 +0000 (13:28 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Aug 2008 13:28:57 +0000 (13:28 +0000)
src/syntax.c
src/version.c

index 6ff82828414e61392c99a1298f15b1d16764c5dc..5ec86c7495efd294d1cb7158bc5a783535caf035 100644 (file)
@@ -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);
     }
index f105e722386e357a51e3135d3ee98959b6a5837d..3e86a5a1bf9506de9da28b603d9020411e62c324 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    30,
 /**/
     29,
 /**/