Permalink
Browse files

[vim] fixed regression where bold was not active in gui

A test for t_Co < 16 also snagged the gui despite t_Co not
being defined in gui mode. Changed to t_Co == 8 for now,
which is the only known case requiring bold off. There may
be other t_Co values under 16 in low color terminals but I
haven't found them yet, so this should be sufficient.
  • Loading branch information...
1 parent 8ee3566 commit a7c77fa73b4f1340af242bae0dbbb269e1768a38 @altercation committed May 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 colors/solarized.vim
View
@@ -410,7 +410,7 @@ endif
"}}}
" Overrides dependent on user specified values and environment "{{{
" ---------------------------------------------------------------------
-if (g:solarized_bold == 0 || &t_Co < 16)
+if (g:solarized_bold == 0 || &t_Co == 8 )
let s:b = ""
let s:bb = ",bold"
else

0 comments on commit a7c77fa

Please sign in to comment.