mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 08:29:03 +08:00
Provide FugitivePrepare()
This commit is contained in:
1 parent
7a190ead85
commit
c316b924e8
1 file changed
+4
@@ -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