Skip to content

Commit

Permalink
fix(colorscheme): fix VertSplit highlight of colorscheme one
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdjeg committed Oct 16, 2021
1 parent 72005ed commit 53e2a5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/SpaceVim/autocmds.vim
Expand Up @@ -63,7 +63,7 @@ function! SpaceVim#autocmds#init() abort
" @fixme this autocmd should also support `:w foo/test.vim`
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 call s:fix_colorschem_in_SpaceVim()
autocmd ColorScheme gruvbox,jellybeans,nord,srcery,NeoSolarized,one 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
Expand Down Expand Up @@ -121,6 +121,8 @@ function! s:fix_colorschem_in_SpaceVim() abort
if &background ==# 'dark'
if g:colors_name ==# 'gruvbox'
hi VertSplit guibg=#282828 guifg=#181A1F
elseif g:colors_name ==# 'one'
hi VertSplit guibg=#282c34 guifg=#181A1F
elseif g:colors_name ==# 'jellybeans'
hi VertSplit guibg=#151515 guifg=#080808
elseif g:colors_name ==# 'nord'
Expand Down

0 comments on commit 53e2a5c

Please sign in to comment.