mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 15:23:51 -05:00
Provide FugitivePrepare()
This commit is contained in:
@@ -68,6 +68,10 @@ function! FugitiveParse(...) abort
|
|||||||
throw v:errmsg
|
throw v:errmsg
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! FugitivePrepare(...) abort
|
||||||
|
return call('fugitive#Prepare', a:000)
|
||||||
|
endfunction
|
||||||
|
|
||||||
function! FugitiveConfig(key, ...) abort
|
function! FugitiveConfig(key, ...) abort
|
||||||
return fugitive#Config(a:key, FugitiveGitDir(a:0 ? a:1 : -1))
|
return fugitive#Config(a:key, FugitiveGitDir(a:0 ? a:1 : -1))
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user