Restriction for terminal without 256-colors support.

This commit is contained in:
Pferor
2012-03-09 07:21:08 +01:00
parent 36629c5f83
commit 5043cf77b4
2 changed files with 6 additions and 0 deletions

View File

@@ -5,5 +5,6 @@ syntax: glob
*.swp
*.swo
*.un~
*~
.ropeproject
tags

View File

@@ -42,6 +42,11 @@ 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