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