summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2015-09-05 02:46:30 +0200
committeryushyin <yushyin@saga>2015-09-05 02:46:30 +0200
commit1566025a6c945ca95c0258e8b41585ffd4950ac8 (patch)
treea443dfebeb5d2203ecc48bc43d7aee5266837625
parent8f773a3fa7804fe84b7a1924277c2eeff886e028 (diff)
downloaddotfiles-1566025a6c945ca95c0258e8b41585ffd4950ac8.tar.gz
dotfiles-1566025a6c945ca95c0258e8b41585ffd4950ac8.tar.xz
Vim: Hook for base16-monokai colorscheme
-rw-r--r--vim/vimrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ec4ddf9..141276a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -74,6 +74,14 @@ if neobundle#tap('syntastic')
let g:syntastic_warning_symbol = '?'
call neobundle#untap()
endif
+if neobundle#tap('base16-vim')
+ set bg=dark
+ let base16colorspace=256
+ function! neobundle#hooks.on_post_source(bundle)
+ colorscheme base16-monokai
+ endfunction
+ call neobundle#untap()
+endif
call neobundle#end()
filetype plugin indent on
@@ -96,11 +104,6 @@ set ts=4
set ttyfast
set wmnu
-" Set Monokai Colorscheme
-colorscheme base16-monokai
-let base16colorspace=256
-set bg=dark
-
if has('gui_running')
set go-=R
set go-=T