aboutsummaryrefslogtreecommitdiffstats
path: root/colors
diff options
context:
space:
mode:
authorGravatar Ethan Schoonover <es@ethanschoonover.com>2011-05-05 13:01:12 -0700
committerGravatar Ethan Schoonover <es@ethanschoonover.com>2011-05-05 13:01:12 -0700
commita7c77fa73b4f1340af242bae0dbbb269e1768a38 (patch)
tree65d9b62ddd3256668f33eae576f77b0f1358b3a1 /colors
parent8ee3566a413197a7414bf60c47ff2221e8ffb8e7 (diff)
downloadvim-colors-solarized-a7c77fa73b4f1340af242bae0dbbb269e1768a38.tar.gz
[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.
Diffstat (limited to 'colors')
-rw-r--r--colors/solarized.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim
index 33aeb17..c72d7c6 100644
--- a/colors/solarized.vim
+++ b/colors/solarized.vim
@@ -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