From 23d6ff00522ba64eb54c60649b89f9043948ddbe Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 4 Nov 2017 17:37:14 +0100 Subject: Improved base16 colorscheme integration --- vimrc-full | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index d197acc..6b26e61 100644 --- a/vimrc-full +++ b/vimrc-full @@ -1022,14 +1022,12 @@ autocmd! ColorScheme * call ExtendColorTheme() set termguicolors | " When on, uses highlight-guifg and highlight-guibg attributes in the terminal (=24bit color) incomp. with nvim -" set background=dark -set t_ut= -if filereadable(expand("~/.config/base16-shell/colortest")) - let g:base16_shell_path="~/.config/base16-shell/scripts" -endif +" set t_ut= -let base16colorspace=256 -if filereadable(expand("~/.vimrc_background")) +if filereadable(expand("~/.vimrc_background")) && filereadable(expand("~/.config/base16-shell/colortest")) + let g:base16_shell_path="~/.config/base16-shell/scripts" + let base16colorspace=256 + set background=dark source ~/.vimrc_background else let g:PaperColor_Theme_Options = { -- cgit v1.2.3