1e203755774d

Restriction for terminal without 256-colors support.
[view raw] [browse files]
author Pferor <pferor@gmail.com>
date Fri, 09 Mar 2012 07:21:08 +0100
parents 6073c4e56185
children e8c84a5eb5c7
branches/tags (none)
files .hgignore colors/badwolf.vim

Changes

--- a/.hgignore	Thu Mar 08 10:38:17 2012 -0500
+++ b/.hgignore	Fri Mar 09 07:21:08 2012 +0100
@@ -5,5 +5,6 @@
 *.swp
 *.swo
 *.un~
+*~
 .ropeproject
 tags
--- a/colors/badwolf.vim	Thu Mar 08 10:38:17 2012 -0500
+++ b/colors/badwolf.vim	Fri Mar 09 07:21:08 2012 +0100
@@ -42,6 +42,11 @@
 " }}}
 " 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