mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-03 00:43:53 +08:00
Fix unknown function error on Vim < 7.2.061
This commit is contained in:
1 parent
7848779d3b
commit
3729c351e1
1 file changed
+3
@@ -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