mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-04 19:28:46 +08:00
add linediff extension (#2757)
This commit is contained in:
3 files changed
+25
No files matched your search
@@ -541,6 +541,11 @@ function! airline#extensions#load()
|
||||
call add(s:loaded_ext, 'zhihu')
|
||||
endif
|
||||
|
||||
if (get(g:, 'airline#extensions#linediff#enabled', 1) && exists('g:loaded_linediff'))
|
||||
call airline#extensions#linediff#init(s:ext)
|
||||
call add(s:loaded_ext, 'linediff')
|
||||
endif
|
||||
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#get_loaded_extensions()
|
||||
|
||||
Reference in new issue
Block a user