hunks: do not cache for changes plugin

This commit is contained in:
Christian Brabandt 2017-08-14 08:13:19 +02:00
parent a8c4424244
commit d8eb12845f
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ function! airline#extensions#hunks#get_hunks()
\ 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'
\ get(b:, 'source_func', '') isnot# 's:get_hunks_empty' &&
\ get(b:, 'source_func', '') isnot# 's:get_hunks_changes'
return b:airline_hunks
endif
let hunks = s:get_hunks()