mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-15 08:09:11 +08:00
Fix statusline reset
This commit is contained in:
parent
29b7276e83
commit
ff34609637
@ -1,10 +1,12 @@
|
||||
function! MyPlugin(...)
|
||||
call airline#extensions#apply_left_override('SpaceVimPlugins', '')
|
||||
" Alternatively, set the various w:airline_section variables
|
||||
"let w:airline_section_a = 'SpaceVimPluginManager'
|
||||
"let w:airline_section_b = ''
|
||||
"let w:airline_section_c = ''
|
||||
"let w:airline_render_left = 1
|
||||
"let w:airline_render_right = 0
|
||||
if &ft ==# 'SpaceVimPlugManager'
|
||||
call airline#extensions#apply_left_override('SpaceVimPlugins', '')
|
||||
" Alternatively, set the various w:airline_section variables
|
||||
"let w:airline_section_a = 'SpaceVimPluginManager'
|
||||
"let w:airline_section_b = ''
|
||||
"let w:airline_section_c = ''
|
||||
"let w:airline_render_left = 1
|
||||
"let w:airline_render_right = 0
|
||||
endif
|
||||
endfunction
|
||||
call airline#add_statusline_func('MyPlugin')
|
||||
|
Loading…
x
Reference in New Issue
Block a user