diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index e67e930..80f33ae 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -478,7 +478,7 @@ function! s:ProjectionistDetect() abort if exists('+shellslash') && !&shellslash let base = tr(base, '/', '\') endif - let file = FugitiveCommonDir(dir) . '/info/projections.json' + let file = FugitiveFind('.git/info/projections.json', dir) if filereadable(file) call projectionist#append(base, file) endif