diff options
author | Max Christian Pohle | 2020-06-26 10:13:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-06-26 13:43:27 +0200 |
commit | b68fec17407aa70fdd4cc5c88667ac2d2f49658a (patch) | |
tree | 113528e165b486cbf2069f220bdca949b1dcd18d /plugin/max-fix-colorschemes.vim | |
parent | dbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (diff) | |
download | vim-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.tar.bz2 vim-b68fec17407aa70fdd4cc5c88667ac2d2f49658a.zip |
Hotfixes to improve compatibility with python
Diffstat (limited to 'plugin/max-fix-colorschemes.vim')
-rw-r--r-- | plugin/max-fix-colorschemes.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim index b9c7657..c0f091d 100644 --- a/plugin/max-fix-colorschemes.vim +++ b/plugin/max-fix-colorschemes.vim | |||
@@ -21,12 +21,11 @@ function! ExtendColorTheme() | |||
21 | highlight! link WildMenu Search | 21 | highlight! link WildMenu Search |
22 | highlight! link Convention Error | 22 | highlight! link Convention Error |
23 | highlight! link PmenuSbar Pmenu | 23 | highlight! link PmenuSbar Pmenu |
24 | highlight! link Tabline StatusLine | ||
25 | highlight! link VertSplit LineNr | 24 | highlight! link VertSplit LineNr |
26 | highlight! link SignColumn LineNr | 25 | highlight! link SignColumn LineNr |
27 | highlight! link FoldColumn VertSplit | 26 | highlight! link FoldColumn VertSplit |
28 | " highlight! link Folded LineNr | 27 | " highlight! link Folded LineNr |
29 | highlight! link EndOfBuffer LineNr | 28 | highlight! link EndOfBuffer NonText |
30 | endfunction | 29 | endfunction |
31 | autocmd ColorScheme * call ExtendColorTheme() | 30 | autocmd ColorScheme * call ExtendColorTheme() |
32 | 31 | ||
@@ -36,8 +35,8 @@ else | |||
36 | set termguicolors | 35 | set termguicolors |
37 | endif | 36 | endif |
38 | 37 | ||
39 | if filereadable(expand('~/.vimrc_background')) && filereadable(expand('~/.config/base16-shell/colortest')) | 38 | if filereadable(expand('~/.vimrc_background')) && filereadable(expand('~/.local/share/base16/base16-shell/colortest')) |
40 | let g:base16_shell_path = '~/.config/base16-shell/scripts' | 39 | let g:base16_shell_path = '~/.local/share/base16/base16-shell/scripts' |
41 | let base16colorspace = 256 | 40 | let base16colorspace = 256 |
42 | source ~/.vimrc_background | 41 | source ~/.vimrc_background |
43 | else | 42 | else |
@@ -52,6 +51,7 @@ else | |||
52 | \ } | 51 | \ } |
53 | \ } | 52 | \ } |
54 | colorscheme PaperColor | 53 | colorscheme PaperColor |
54 | set background=dark | ||
55 | endif | 55 | endif |
56 | 56 | ||
57 | 57 | ||