From a7c77fa73b4f1340af242bae0dbbb269e1768a38 Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Thu, 5 May 2011 13:01:12 -0700 Subject: [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. --- colors/solarized.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'colors') 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 -- cgit v1.2.3-70-g09d2