[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.
This commit is contained in:
Ethan Schoonover 2011-05-05 13:01:12 -07:00
parent 8ee3566a41
commit a7c77fa73b

View file

@ -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