mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 14:23: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
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
if v:version + has('patch061') < 703
|
||||||
|
runtime! autoload/fugitive.vim
|
||||||
|
endif
|
||||||
let g:io_fugitive = {
|
let g:io_fugitive = {
|
||||||
\ 'simplify': function('fugitive#simplify'),
|
\ 'simplify': function('fugitive#simplify'),
|
||||||
\ 'resolve': function('fugitive#resolve'),
|
\ 'resolve': function('fugitive#resolve'),
|
||||||
|
|||||||
Reference in New Issue
Block a user