diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 1ad8bbad..b563581c 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -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)?"":"<")