re-enable gitgutter integration with new upstream function. resolves #154 and #153.

This commit is contained in:
Bailey Ling
2013-08-19 16:03:10 +00:00
parent 2a02afb918
commit de69bba26e
3 changed files with 3 additions and 31 deletions

View File

@@ -128,7 +128,7 @@ function! airline#extensions#load()
call airline#extensions#undotree#init(s:ext)
endif
if g:airline_enable_hunks && exists('*GitGutterGetHunks')
if get(g:, 'airline_enable_hunks', 1) && exists('*GitGutterGetHunkSummary')
call airline#extensions#hunks#init(s:ext)
endif