mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-22 20:01:26 +08:00
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user