fugitive: Check for existence of FugitiveStatusline function

as per @tpopes advice.
This commit is contained in:
Christian Brabandt 2018-06-04 17:42:33 +02:00
parent 30a3c4f549
commit a1680cc36d
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ function! airline#util#ignore_buf(name)
endfunction
function! airline#util#has_fugitive()
return exists('*fugitive#head') || exists('*FugitiveHead')
return exists('*fugitive#head') || exists('*FugitiveStatusline')
endfunction
function! airline#util#has_lawrencium()