disable hunks by default, a couple bugs remaining.
This commit is contained in:
parent
da4d0730d3
commit
16f2d7013d
@ -2,6 +2,10 @@
|
|||||||
" vim: et ts=2 sts=2 sw=2
|
" vim: et ts=2 sts=2 sw=2
|
||||||
|
|
||||||
function! airline#extensions#hunks#get_hunks()
|
function! airline#extensions#hunks#get_hunks()
|
||||||
|
if &ft == 'gitcommit'
|
||||||
|
return ''
|
||||||
|
endif
|
||||||
|
|
||||||
if get(g:, 'gitgutter_initialised', 0) && get(g:, 'gitgutter_enabled', 0)
|
if get(g:, 'gitgutter_initialised', 0) && get(g:, 'gitgutter_enabled', 0)
|
||||||
let added = 0
|
let added = 0
|
||||||
let removed = 0
|
let removed = 0
|
||||||
|
@ -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_syntastic', 1)
|
||||||
call s:check_defined('g:airline_enable_tagbar', 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_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_iminsert', 0)
|
||||||
call s:check_defined('g:airline_detect_modified', 1)
|
call s:check_defined('g:airline_detect_modified', 1)
|
||||||
call s:check_defined('g:airline_detect_paste', 1)
|
call s:check_defined('g:airline_detect_paste', 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user