From a1680cc36d36668310156f80fec10143c79a4cb6 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Mon, 4 Jun 2018 17:42:33 +0200 Subject: [PATCH] fugitive: Check for existence of FugitiveStatusline function as per @tpopes advice. --- autoload/airline/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/util.vim b/autoload/airline/util.vim index 2261510..f2a57ce 100644 --- a/autoload/airline/util.vim +++ b/autoload/airline/util.vim @@ -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()