aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-chalk.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/base16-chalk.vim')
-rw-r--r--colors/base16-chalk.vim12
1 files changed, 11 insertions, 1 deletions
diff --git a/colors/base16-chalk.vim b/colors/base16-chalk.vim
index d9e5b48..8d123c8 100644
--- a/colors/base16-chalk.vim
+++ b/colors/base16-chalk.vim
@@ -1,6 +1,16 @@
" Base16 Chalk (https://github.com/chriskempson/base16)
" Scheme: Chris Kempson (http://chriskempson.com)
+" 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-chalk.dark.sh"
+ endif
+endif
+
" GUI color definitions
let s:gui00 = "151515"
let s:gui01 = "202020"
@@ -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, "", "")