From f2e01d7e513067ddb57c75f6e38cdcf434946cf8 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 22 Oct 2018 00:02:58 +0200 Subject: Major refactoring for version 2.0 vim-plug has been removed and replaced with Vims internal bundle mechanism. But I already noticed, that there is also GLVM now and started trying that as well. --- plugin/max-fix-colorschemes.vim | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 plugin/max-fix-colorschemes.vim (limited to 'plugin/max-fix-colorschemes.vim') diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim new file mode 100644 index 0000000..ac2af76 --- /dev/null +++ b/plugin/max-fix-colorschemes.vim @@ -0,0 +1,49 @@ +"======================================================================================================================= +" COLOR SCHEME: +"======================================================================================================================= +function! ExtendColorTheme() + highlight! Bold cterm=bold gui=bold + highlight! Italic cterm=italic gui=italic + highlight! Underline cterm=underline gui=underline + highlight! BoldUnderline cterm=bold,underline gui=bold,underline + highlight! BoldItalic cterm=bold,Italic gui=Bold,Italic + highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 + highlight! Error ctermbg=NONE guibg=NONE + highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red + + + highlight! link SpecialKey NonText | " makes tab stop (see listchars) less disturbing + highlight! link EndOfBuffer Ignore + highlight! link WildMenu Search + highlight! link Convention Error + highlight! link VertSplit NonText + + highlight! link Folded LineNr + highlight! link SignColumn LineNr + highlight! link FoldColumn LineNr + + highlight! link PmenuSbar Pmenu + highlight! PmenuThumb cterm=inverse + highlight! MoreMsg cterm=inverse + + +endfunction +autocmd ColorScheme * call ExtendColorTheme() + + +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 = { + \ 'theme': { + \ 'default': { + \ 'transparent_background': 0 + \ } + \ } + \ } + set background=light + colorscheme PaperColor +endif -- cgit v1.2.3