From d111e4edb3c47ffa4a769c30af6b00c1bc3c874d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 1 Apr 2014 16:45:06 -0400 Subject: [PATCH] remove usage of fugitive#detect as per request https://github.com/tpope/vim-fugitive/issues/463 --- autoload/airline/extensions/branch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 9ac1b56..34dedb9 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -2,7 +2,7 @@ " vim: et ts=2 sts=2 sw=2 let s:has_fugitive = exists('*fugitive#head') -let s:has_fugitive_detect = exists('*fugitive#detect') +let s:has_fugitive_detect = 0 " TODO: figure out alternative let s:has_lawrencium = exists('*lawrencium#statusline') let s:has_vcscommand = get(g:, 'airline#extensions#branch#use_vcscommand', 0) && exists('*VCSCommandGetStatusLine')