# HG changeset patch # User Steve Losh # Date 1331307218 18000 # Node ID e8c84a5eb5c7b08128213ec21da73b7aab1c48ee # Parent 1e203755774d9e5f3bfbad019ce0b81e9ded5842 Move the color check to the top. diff -r 1e203755774d -r e8c84a5eb5c7 colors/badwolf.vim --- a/colors/badwolf.vim Fri Mar 09 07:21:08 2012 +0100 +++ b/colors/badwolf.vim Fri Mar 09 10:33:38 2012 -0500 @@ -31,6 +31,10 @@ " Supporting code ------------------------------------------------------------- " Preamble {{{ +if !has("gui_running") && &t_Co != 88 && &t_Co != 256 + finish +endif + set background=dark if exists("syntax_on") @@ -42,11 +46,6 @@ " }}} " Palette {{{ -" **UPDATE** This color scheme only works on 256 colors. -if !has("gui_running") && &t_Co != 88 && &t_Co != 256 - finish -endif - let s:bwc = {} " The most basic of all our colors is a slightly tweaked version of the Molokai