aboutsummaryrefslogtreecommitdiff
path: root/plugin/max-fix-colorschemes.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2020-06-26 10:13:58 +0200
committerMax Christian Pohle2020-06-26 13:43:27 +0200
commitb68fec17407aa70fdd4cc5c88667ac2d2f49658a (patch)
tree113528e165b486cbf2069f220bdca949b1dcd18d /plugin/max-fix-colorschemes.vim
parentdbcaab09f2b1f2b6256364407fa67ee67f3cdc66 (diff)
downloadvim-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.vim8
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
30endfunction 29endfunction
31autocmd ColorScheme * call ExtendColorTheme() 30autocmd ColorScheme * call ExtendColorTheme()
32 31
@@ -36,8 +35,8 @@ else
36 set termguicolors 35 set termguicolors
37endif 36endif
38 37
39if filereadable(expand('~/.vimrc_background')) && filereadable(expand('~/.config/base16-shell/colortest')) 38if 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
43else 42else
@@ -52,6 +51,7 @@ else
52 \ } 51 \ }
53 \ } 52 \ }
54 colorscheme PaperColor 53 colorscheme PaperColor
54 set background=dark
55endif 55endif
56 56
57 57
..