Do not cache gitgutter values

fixes #1230
This commit is contained in:
Christian Brabandt 2016-08-24 21:22:14 +02:00
parent d00f7b35d2
commit 43e3ef5428
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ function! airline#extensions#hunks#get_hunks()
\ get(b:, 'airline_changenr', 0) == changenr() &&
\ winwidth(0) == get(s:, 'airline_winwidth', 0) &&
\ get(b:, 'source_func', '') isnot# 's:get_hunks_signify' &&
\ get(b:, 'source_func', '') isnot# 's:get_hunks_gitgutter' &&
\ get(b:, 'source_func', '') isnot# 's:get_hunks_empty'
return b:airline_hunks
endif