motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

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:
Mplugin/fugitive.vim | 3+++
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'),