Skip to content

Commit

Permalink
[vim] fixed regression where bold was not active in gui
Browse files Browse the repository at this point in the history
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
altercation committed May 5, 2011
1 parent 8ee3566 commit a7c77fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colors/solarized.vim
Expand Up @@ -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
Expand Down

0 comments on commit a7c77fa

Please sign in to comment.