fugitive: remove old fugitive test

As mentioned by @tpope, remove the old test for the autoloaded function
fugitivie#head() and instead use consistently FugitiveHead() everywhere
This commit is contained in:
Christian Brabandt
2022-05-21 21:57:01 +02:00
parent c465570143
commit 5d7e656081
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ endfunction
function! airline#util#has_fugitive()
if !exists("s:has_fugitive")
let s:has_fugitive = exists('*fugitive#head') || exists('*FugitiveHead')
let s:has_fugitive = exists('*FugitiveHead')
endif
return s:has_fugitive
endfunction