diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 2157547d..422a65ce 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -141,6 +141,7 @@ function! airline#extensions#branch#head() endif endif else + let b:airline_head = get(b:, 'airline_head', '') for vcs in l:vcs_priority if has_key(l:heads, vcs) if !empty(b:airline_head)