disable hunks by default, a couple bugs remaining.

This commit is contained in:
Bailey Ling 2013-08-19 13:22:24 +00:00
parent da4d0730d3
commit 16f2d7013d
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@
" vim: et ts=2 sts=2 sw=2
function! airline#extensions#hunks#get_hunks()
if &ft == 'gitcommit'
return ''
endif
if get(g:, 'gitgutter_initialised', 0) && get(g:, 'gitgutter_enabled', 0)
let added = 0
let removed = 0

View File

@ -21,7 +21,7 @@ call s:check_defined('g:airline_enable_branch', 1)
call s:check_defined('g:airline_enable_syntastic', 1)
call s:check_defined('g:airline_enable_tagbar', 1)
call s:check_defined('g:airline_enable_csv', 1)
call s:check_defined('g:airline_enable_hunks', 1)
call s:check_defined('g:airline_enable_hunks', 0)
call s:check_defined('g:airline_detect_iminsert', 0)
call s:check_defined('g:airline_detect_modified', 1)
call s:check_defined('g:airline_detect_paste', 1)