mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 13:04:54 +02:00
[fix] can display loaded extension in g:airline_extensions
[fix] continue check
This commit is contained in:
parent
d4502d02a1
commit
70c91d70c5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user