mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-18 01:45:56 +08:00
hide errors (#241).
This commit is contained in:
@@ -204,7 +204,10 @@ function! airline#extensions#load()
|
|||||||
if !get(g:, 'airline#extensions#'.name.'#enabled', 1)
|
if !get(g:, 'airline#extensions#'.name.'#enabled', 1)
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
call airline#extensions#{name}#init(s:ext)
|
try
|
||||||
|
call airline#extensions#{name}#init(s:ext)
|
||||||
|
catch
|
||||||
|
endtry
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user