diff options
author | Max Christian Pohle | 2018-10-22 00:02:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-10-22 20:42:25 +0200 |
commit | f2e01d7e513067ddb57c75f6e38cdcf434946cf8 (patch) | |
tree | 4e8448506756d2144db173d01385798840507133 /plugin/max-fix-colorschemes.vim | |
parent | 31f80d9c334e38e486545407ea5eb5f5cbb2f07d (diff) | |
download | vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.tar.bz2 vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.zip |
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.
Diffstat (limited to 'plugin/max-fix-colorschemes.vim')
-rw-r--r-- | plugin/max-fix-colorschemes.vim | 49 |
1 files changed, 49 insertions, 0 deletions
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 @@ | |||
1 | "======================================================================================================================= | ||
2 | " COLOR SCHEME: | ||
3 | "======================================================================================================================= | ||
4 | function! ExtendColorTheme() | ||
5 | highlight! Bold cterm=bold gui=bold | ||
6 | highlight! Italic cterm=italic gui=italic | ||
7 | highlight! Underline cterm=underline gui=underline | ||
8 | highlight! BoldUnderline cterm=bold,underline gui=bold,underline | ||
9 | highlight! BoldItalic cterm=bold,Italic gui=Bold,Italic | ||
10 | highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 | ||
11 | highlight! Error ctermbg=NONE guibg=NONE | ||
12 | highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red | ||
13 | |||
14 | |||
15 | highlight! link SpecialKey NonText | " makes tab stop (see listchars) less disturbing | ||
16 | highlight! link EndOfBuffer Ignore | ||
17 | highlight! link WildMenu Search | ||
18 | highlight! link Convention Error | ||
19 | highlight! link VertSplit NonText | ||
20 | |||
21 | highlight! link Folded LineNr | ||
22 | highlight! link SignColumn LineNr | ||
23 | highlight! link FoldColumn LineNr | ||
24 | |||
25 | highlight! link PmenuSbar Pmenu | ||
26 | highlight! PmenuThumb cterm=inverse | ||
27 | highlight! MoreMsg cterm=inverse | ||
28 | |||
29 | |||
30 | endfunction | ||
31 | autocmd ColorScheme * call ExtendColorTheme() | ||
32 | |||
33 | |||
34 | if filereadable(expand("~/.vimrc_background")) && filereadable(expand("~/.config/base16-shell/colortest")) | ||
35 | let g:base16_shell_path = "~/.config/base16-shell/scripts" | ||
36 | let base16colorspace = 256 | ||
37 | set background=dark | ||
38 | source ~/.vimrc_background | ||
39 | else | ||
40 | let g:PaperColor_Theme_Options = { | ||
41 | \ 'theme': { | ||
42 | \ 'default': { | ||
43 | \ 'transparent_background': 0 | ||
44 | \ } | ||
45 | \ } | ||
46 | \ } | ||
47 | set background=light | ||
48 | colorscheme PaperColor | ||
49 | endif | ||