support vim-signify as a hunk source.

This commit is contained in:
Bailey Ling
2013-08-20 15:43:26 +00:00
parent 35db000651
commit a04d7c277a
4 changed files with 32 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ function! airline#extensions#load()
endif
if (get(g:, 'airline#extensions#hunks#enabled', 1) && get(g:, 'airline_enable_hunks', 1))
\ && exists('*GitGutterGetHunkSummary')
\ && (exists('g:loaded_signify') || exists('g:loaded_gitgutter'))
call airline#extensions#hunks#init(s:ext)
endif