From 961538fc91b79059969cd1cc226b569e019722cc Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 20 Nov 2022 22:09:36 +0800 Subject: [PATCH] fix(colorscheme): fix VertSplit highlight --- autoload/SpaceVim/autocmds.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/SpaceVim/autocmds.vim b/autoload/SpaceVim/autocmds.vim index 4066a71b1..154cce80c 100644 --- a/autoload/SpaceVim/autocmds.vim +++ b/autoload/SpaceVim/autocmds.vim @@ -59,7 +59,7 @@ function! SpaceVim#autocmds#init() abort endif autocmd BufWritePre * call SpaceVim#plugins#mkdir#CreateCurrent() autocmd ColorScheme * call SpaceVim#api#import('vim#highlight').hide_in_normal('EndOfBuffer') - autocmd ColorScheme gruvbox,jellybeans,nord,srcery,NeoSolarized,one call s:fix_colorschem_in_SpaceVim() + autocmd ColorScheme gruvbox,jellybeans,nord,srcery,NeoSolarized,one,SpaceVim call s:fix_colorschem_in_SpaceVim() autocmd VimEnter * call SpaceVim#autocmds#VimEnter() autocmd BufEnter * let b:_spacevim_project_name = get(g:, '_spacevim_project_name', '') autocmd SessionLoadPost * let g:_spacevim_session_loaded = 1 @@ -123,6 +123,8 @@ function! s:fix_colorschem_in_SpaceVim() abort hi VertSplit guibg=#151515 guifg=#080808 elseif g:colors_name ==# 'nord' hi VertSplit guibg=#2E3440 guifg=#262626 + elseif g:colors_name ==# 'SpaceVim' + hi VertSplit guibg=#262626 guifg=#181A1F elseif g:colors_name ==# 'srcery' hi VertSplit guibg=#1C1B19 guifg=#262626 hi clear Visual