Fix unknown function error on Vim < 7.2.061

This commit is contained in:
Tim Pope
2019-12-19 14:05:36 -05:00
parent 7848779d3b
commit 3729c351e1

View File

@@ -304,6 +304,9 @@ function! s:ProjectionistDetect() abort
endif
endfunction
if v:version + has('patch061') < 703
runtime! autoload/fugitive.vim
endif
let g:io_fugitive = {
\ 'simplify': function('fugitive#simplify'),
\ 'resolve': function('fugitive#resolve'),