From a8ccef61ba6c3b9f9de38f90693b43234445d0a7 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 21 Jul 2018 21:09:36 -0400 Subject: [PATCH] Update to new Fugitive real path API --- autoload/airline/extensions/fugitiveline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/fugitiveline.vim b/autoload/airline/extensions/fugitiveline.vim index 4b72218..5dab995 100644 --- a/autoload/airline/extensions/fugitiveline.vim +++ b/autoload/airline/extensions/fugitiveline.vim @@ -18,8 +18,8 @@ function! airline#extensions#fugitiveline#bufname() if !exists('b:fugitive_name') let b:fugitive_name = '' try - if bufname('%') =~? '^fugitive:' && exists('*FugitivePath') - let b:fugitive_name = FugitivePath() + if bufname('%') =~? '^fugitive:' && exists('*FugitiveReal') + let b:fugitive_name = FugitiveReal(bufname('%')) elseif exists('b:git_dir') let buffer = fugitive#buffer() if buffer.type('blob')