1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:10:05 +08:00
SpaceVim/ftplugin/SpaceVimPlugManager.vim

21 lines
658 B
VimL
Raw Normal View History

2017-04-22 10:53:54 +08:00
if exists('g:_SpaceVimPlugManager_ftplugin')
finish
else
let g:_SpaceVimPlugManager_ftplugin = 1
endif
2017-04-22 10:58:26 +08:00
function! SpaceVimPlugManager#statusline(...)
2017-04-22 10:47:54 +08:00
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
2017-04-22 10:32:31 +08:00
endfunction
try
2017-04-22 10:58:26 +08:00
call airline#add_statusline_func('SpaceVimPlugManager#statusline')
catch
endtry