Move the color check to the top.

This commit is contained in:
Steve Losh
2012-03-09 10:33:38 -05:00
parent 5043cf77b4
commit 6937e33f60

View File

@@ -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 @@ let colors_name = "badwolf"
" }}}
" 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