aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-monokai.vim
diff options
context:
space:
mode:
authorChris Kempson <git@chriskempson.com>2014-10-09 09:49:01 +0100
committerChris Kempson <git@chriskempson.com>2014-10-09 09:49:01 +0100
commitb7bb8f89ac8472fbe7e71bf5c0bcdedea53cb48a (patch)
tree465c88bc478cd3965d4b650dc6d28502afd7afac /colors/base16-monokai.vim
parent1ce4b842b43a1e744008cbef349341a6645662ee (diff)
Updated with base16-builder
Diffstat (limited to 'colors/base16-monokai.vim')
-rw-r--r--colors/base16-monokai.vim12
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, "", "")