aboutsummaryrefslogtreecommitdiff
path: root/plugin/max-fix-colorschemes.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/max-fix-colorschemes.vim')
-rw-r--r--plugin/max-fix-colorschemes.vim31
1 files changed, 13 insertions, 18 deletions
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim
index edbb0ee..0a5e401 100644
--- a/plugin/max-fix-colorschemes.vim
+++ b/plugin/max-fix-colorschemes.vim
@@ -23,6 +23,7 @@ function! ExtendColorTheme()
23 highlight! link PmenuSbar Pmenu 23 highlight! link PmenuSbar Pmenu
24 highlight! link VertSplit LineNr 24 highlight! link VertSplit LineNr
25 highlight! link SignColumn LineNr 25 highlight! link SignColumn LineNr
26 highlight! link ALEErrorSign LineNr
26 highlight! link FoldColumn VertSplit 27 highlight! link FoldColumn VertSplit
27 " highlight! link Folded LineNr 28 " highlight! link Folded LineNr
28 highlight! link EndOfBuffer NonText 29 highlight! link EndOfBuffer NonText
@@ -39,23 +40,17 @@ else
39 set termguicolors 40 set termguicolors
40endif 41endif
41 42
42if filereadable(expand('~/.vimrc_background')) && filereadable(expand('~/.local/share/base16/base16-shell/colortest')) 43
43 let g:base16_shell_path = '~/.local/share/base16/base16-shell/scripts' 44let g:PaperColor_Theme_Options = {
44 let base16colorspace = 256 45 \ 'theme': {
45 source ~/.vimrc_background 46 \ 'default.dark': {
46else 47 \ 'transparent_background': 1
47 let g:PaperColor_Theme_Options = { 48 \ },
48 \ 'theme': { 49 \ 'default.light': {
49 \ 'default.dark': { 50 \ 'transparent_background': 1
50 \ 'transparent_background': 1 51 \ }
51 \ }, 52 \ }
52 \ 'default.light': { 53 \ }
53 \ 'transparent_background': 1
54 \ }
55 \ }
56 \ }
57 colorscheme PaperColor
58 set background=dark
59endif
60 54
61 55
56colorscheme PaperColor
..