improve loading performance
This commit is contained in:
parent
f48031cde8
commit
5c0ef8ffbf
|
@ -7,7 +7,10 @@ function! s:check_defined(variable, default)
|
|||
endif
|
||||
endfunction
|
||||
|
||||
let s:loaded = 0
|
||||
function! airline#init#bootstrap()
|
||||
if s:loaded | return | endif | let s:loaded = 1
|
||||
|
||||
call s:check_defined('g:airline_left_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
||||
call s:check_defined('g:airline_left_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
||||
call s:check_defined('g:airline_right_sep', get(g:, 'airline_powerline_fonts', 0)?"":"<")
|
||||
|
|
Loading…
Reference in New Issue