mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:00:05 +08:00
fix(startify): fix StartifyEndOfBuffer
highlight
the `StartifyEndOfBuffer` highlight group should be updated when change colorscheme. the startify function s:hide_endofbuffer_markers() should be called when colorscheme changed.
This commit is contained in:
parent
4d84b47a31
commit
cb662c1083
@ -59,6 +59,7 @@ function! SpaceVim#autocmds#init() abort
|
|||||||
endif
|
endif
|
||||||
autocmd BufWritePre * call SpaceVim#plugins#mkdir#CreateCurrent()
|
autocmd BufWritePre * call SpaceVim#plugins#mkdir#CreateCurrent()
|
||||||
autocmd ColorScheme * call SpaceVim#api#import('vim#highlight').hide_in_normal('EndOfBuffer')
|
autocmd ColorScheme * call SpaceVim#api#import('vim#highlight').hide_in_normal('EndOfBuffer')
|
||||||
|
autocmd ColorScheme * call SpaceVim#api#import('vim#highlight').hide_in_normal('StartifyEndOfBuffer')
|
||||||
autocmd ColorScheme gruvbox,jellybeans,nord,srcery,NeoSolarized,one,SpaceVim 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 VimEnter * call SpaceVim#autocmds#VimEnter()
|
||||||
autocmd BufEnter * let b:_spacevim_project_name = get(g:, '_spacevim_project_name', '')
|
autocmd BufEnter * let b:_spacevim_project_name = get(g:, '_spacevim_project_name', '')
|
||||||
|
Loading…
Reference in New Issue
Block a user