hide errors (#241).

This commit is contained in:
Bailey Ling 2013-09-10 16:00:31 +00:00
parent 3a5a40730a
commit 2702015544

View File

@ -204,7 +204,10 @@ function! airline#extensions#load()
if !get(g:, 'airline#extensions#'.name.'#enabled', 1)
continue
endif
call airline#extensions#{name}#init(s:ext)
try
call airline#extensions#{name}#init(s:ext)
catch
endtry
endif
endfor
endfunction