mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:50:04 +08:00
Fix statuslibe
This commit is contained in:
parent
eca89616d5
commit
d81c440947
@ -195,7 +195,7 @@ let g:spacevim_statusline_inactive_separator = 'arrow'
|
||||
" \ 'version control info'
|
||||
" \ ]
|
||||
" <
|
||||
let g:spacevim_statusline_left_sections = ['winnr', 'filename', 'major mode', 'minor mode lighters', 'version control info']
|
||||
let g:spacevim_statusline_left_sections = ['winnr', 'filename', 'major mode', 'syntax checking', 'minor mode lighters', 'version control info']
|
||||
""
|
||||
" Define the right section of statusline in active windows. By default:
|
||||
" >
|
||||
|
@ -38,7 +38,9 @@ function! SpaceVim#layers#checkers#config() abort
|
||||
|
||||
augroup SpaceVim_layer_checker
|
||||
autocmd!
|
||||
if g:spacevim_enable_ale
|
||||
if g:spacevim_enable_neomake
|
||||
autocmd User NeomakeFinished nested let &l:statusline = SpaceVim#layers#core#statusline#get(1)
|
||||
elseif g:spacevim_enable_ale
|
||||
autocmd User ALELint let &l:statusline = SpaceVim#layers#core#statusline#get(1)
|
||||
endif
|
||||
augroup END
|
||||
|
Loading…
Reference in New Issue
Block a user