mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 20:54:26 +08:00
[fix] can display loaded extension in g:airline_extensions
[fix] continue check
This commit is contained in:
@@ -151,7 +151,9 @@ function! airline#extensions#load()
|
|||||||
call airline#extensions#{ext}#init(s:ext)
|
call airline#extensions#{ext}#init(s:ext)
|
||||||
catch /^Vim\%((\a\+)\)\=:E117/ " E117, function does not exist
|
catch /^Vim\%((\a\+)\)\=:E117/ " E117, function does not exist
|
||||||
call airline#util#warning("Extension '".ext."' not installed, ignoring!")
|
call airline#util#warning("Extension '".ext."' not installed, ignoring!")
|
||||||
|
continue
|
||||||
endtry
|
endtry
|
||||||
|
call add(s:loaded_ext, ext)
|
||||||
endfor
|
endfor
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user