commit 3729c351e1c0e6289f5ce6cb2e2c3c5c81bfbc09 (tree)
parent 7848779d3b501293a57ef806a20fb4314935f7e2
Author: Tim Pope <code@tpope.net>
Date: Thu, 19 Dec 2019 14:05:36 -0500
Fix unknown function error on Vim < 7.2.061
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -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'),