fugitive: Use FugitiveHead() instead of fugitive#head

function if possible and use it instead of the fugitive#head
(which will always autload the fugitive plugin).
This commit is contained in:
Christian Brabandt committed 2018-06-04 18:32:30 +02:00
1 parent a1680cc36d
commit 981b83003f
2 files changed
+3 -2

No files matched your search

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