diff options
Diffstat (limited to 'colors/base16-grayscale.vim')
-rw-r--r-- | colors/base16-grayscale.vim | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/colors/base16-grayscale.vim b/colors/base16-grayscale.vim index 7c5c805..96370ac 100644 --- a/colors/base16-grayscale.vim +++ b/colors/base16-grayscale.vim @@ -1,6 +1,16 @@ " Base16 Grayscale (https://github.com/chriskempson/base16) " Scheme: Alexandre Gavioli (https://github.com/Alexx2/) +" 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-grayscale.dark.sh" + endif +endif + " GUI color definitions let s:gui00 = "101010" let s:gui01 = "252525" @@ -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, "", "") |