mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
Fix unknown function error on Vim < 7.2.061
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user