diff options
Diffstat (limited to 'colors/base16-monokai.vim')
-rw-r--r-- | colors/base16-monokai.vim | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/colors/base16-monokai.vim b/colors/base16-monokai.vim index c1fd378..765a4f1 100644 --- a/colors/base16-monokai.vim +++ b/colors/base16-monokai.vim @@ -1,6 +1,16 @@ " Base16 Monokai (https://github.com/chriskempson/base16) " Scheme: Wimer Hazenberg (http://www.monokai.nl) +" 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-monokai.dark.sh" + endif +endif + " GUI color definitions let s:gui00 = "272822" let s:gui01 = "383830" @@ -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, "", "") |