From 3729c351e1c0e6289f5ce6cb2e2c3c5c81bfbc09 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 19 Dec 2019 14:05:36 -0500 Subject: [PATCH] Fix unknown function error on Vim < 7.2.061 --- plugin/fugitive.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index fbdb0e9..e98f437 100644 --- 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'),