mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-07 10:20:55 +08:00
disable hunks by default, a couple bugs remaining.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user