mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-16 00:37:08 +08:00
Extensions: indicate, if an extension is external
Show in :AirlineExtensions if the extension comes bundled with airline or from an external source. closes #1890
This commit is contained in:
@@ -377,6 +377,8 @@ function! airline#extensions#load()
|
||||
endif
|
||||
try
|
||||
call airline#extensions#{name}#init(s:ext)
|
||||
" mark as external
|
||||
call add(s:loaded_ext, name.'*')
|
||||
catch
|
||||
endtry
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user