diff options
Diffstat (limited to 'plugin/max-fix-colorschemes.vim')
-rw-r--r-- | plugin/max-fix-colorschemes.vim | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim index 1624565..abfa11a 100644 --- a/plugin/max-fix-colorschemes.vim +++ b/plugin/max-fix-colorschemes.vim | |||
@@ -2,42 +2,43 @@ | |||
2 | " COLOR SCHEME: | 2 | " COLOR SCHEME: |
3 | "======================================================================================================================= | 3 | "======================================================================================================================= |
4 | function! ExtendColorTheme() | 4 | function! ExtendColorTheme() |
5 | highlight! Bold cterm=bold gui=bold | 5 | highlight! Bold cterm=bold gui=bold |
6 | highlight! Italic cterm=italic gui=italic | 6 | highlight! Italic cterm=italic gui=italic |
7 | highlight! Underline cterm=underline gui=underline | 7 | highlight! Underline cterm=underline gui=underline |
8 | highlight! BoldUnderline cterm=bold,underline gui=bold,underline | 8 | highlight! BoldUnderline cterm=bold,underline gui=bold,underline |
9 | highlight! BoldItalic cterm=bold,Italic gui=Bold,Italic | 9 | highlight! BoldItalic cterm=bold,Italic gui=Bold,Italic |
10 | highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 | 10 | highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 |
11 | highlight! Error guibg=NONE | 11 | highlight! Error cterm=NONE ctermbg=NONE gui=NONE guibg=NONE |
12 | highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red | 12 | highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red |
13 | 13 | highlight! Ignore cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=NONE guifg=NONE | |
14 | 14 | highlight! Folded cterm=NONE ctermbg=NONE | |
15 | highlight! link qfSeparator Normal | " reserve one space | 15 | highlight! EndOfBuffer cterm=NONE ctermbg=255 ctermfg=255 |
16 | highlight! link qfLineNr Normal | " informational line numbers should look different | 16 | |
17 | 17 | ||
18 | highlight! link SpecialKey NonText | " makes tab stop (see listchars) less disturbing | 18 | highlight! link qfSeparator Normal | " reserve one space |
19 | highlight! link EndOfBuffer Ignore | 19 | highlight! link qfLineNr Normal | " informational line numbers should look different |
20 | highlight! link WildMenu Search | 20 | |
21 | highlight! link Convention Error | 21 | highlight! link SpecialKey NonText | " makes tab stop (see listchars) less disturbing |
22 | highlight! link VertSplit NonText | 22 | highlight! link WildMenu Search |
23 | 23 | highlight! link Convention Error | |
24 | highlight! link VertSplit LineNr | 24 | highlight! link VertSplit NonText |
25 | highlight! link Folded LineNr | 25 | |
26 | highlight! link SignColumn LineNr | 26 | highlight! link VertSplit LineNr |
27 | highlight! link FoldColumn LineNr | 27 | highlight! link SignColumn NonText |
28 | 28 | highlight! link FoldColumn NonText | |
29 | highlight! link PmenuSbar Pmenu | 29 | |
30 | highlight! PmenuThumb cterm=inverse | 30 | highlight! link PmenuSbar Pmenu |
31 | highlight! MoreMsg cterm=inverse | 31 | highlight! PmenuThumb cterm=inverse |
32 | highlight! MoreMsg cterm=inverse | ||
32 | 33 | ||
33 | endfunction | 34 | endfunction |
34 | autocmd ColorScheme * call ExtendColorTheme() | 35 | autocmd ColorScheme * call ExtendColorTheme() |
35 | 36 | ||
36 | 37 | ||
38 | set background=light | ||
37 | if filereadable(expand("~/.vimrc_background")) && filereadable(expand("~/.config/base16-shell/colortest")) | 39 | if filereadable(expand("~/.vimrc_background")) && filereadable(expand("~/.config/base16-shell/colortest")) |
38 | let g:base16_shell_path = "~/.config/base16-shell/scripts" | 40 | let g:base16_shell_path = "~/.config/base16-shell/scripts" |
39 | let base16colorspace = 256 | 41 | let base16colorspace = 256 |
40 | set background=dark | ||
41 | source ~/.vimrc_background | 42 | source ~/.vimrc_background |
42 | else | 43 | else |
43 | let g:PaperColor_Theme_Options = { | 44 | let g:PaperColor_Theme_Options = { |
@@ -47,6 +48,5 @@ else | |||
47 | \ } | 48 | \ } |
48 | \ } | 49 | \ } |
49 | \ } | 50 | \ } |
50 | set background=light | ||
51 | colorscheme PaperColor | 51 | colorscheme PaperColor |
52 | endif | 52 | endif |