aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-codeschool.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/base16-codeschool.vim')
-rw-r--r--colors/base16-codeschool.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/colors/base16-codeschool.vim b/colors/base16-codeschool.vim
index e5a46e4..5c6fcf2 100644
--- a/colors/base16-codeschool.vim
+++ b/colors/base16-codeschool.vim
@@ -1,6 +1,16 @@
" Base16 Codeschool (https://github.com/chriskempson/base16)
" Scheme: brettof86
+" This enables the coresponding base16-shell script to run so that
+" :colorscheme works in terminals supported by base16-shell scripts
+" User must set this variable in .vimrc
+" let g:base16_shell_path=base16-builder/output/shell/
+if !has('gui')
+ if exists("g:base16_shell_path")
+ execute "silent !/bin/sh ".g:base16_shell_path."/base16-codeschool.dark.sh"
+ endif
+endif
+
" GUI color definitions
let s:gui00 = "232c31"
let s:gui01 = "1c3657"
@@ -138,7 +148,7 @@ call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "")
call <sid>hi("MatchParen", s:gui00, s:gui03, s:cterm00, s:cterm03, "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "")
-call <sid>hi("Question", s:gui09, "", s:cterm09, "", "")
+call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "")
call <sid>hi("Search", s:gui03, s:gui0A, s:cterm03, s:cterm0A, "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "")