Commits

Steve Losh  committed e8c84a5

Move the color check to the top.

  • Participants
  • Parent commits 1e20375

Comments (0)

Files changed (1)

File colors/badwolf.vim

 " Supporting code -------------------------------------------------------------
 " Preamble {{{
 
+if !has("gui_running") && &t_Co != 88 && &t_Co != 256
+    finish
+endif
+
 set background=dark
 
 if exists("syntax_on")
 " }}}
 " 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