mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-08 13:05:21 +08:00
Provide config functions globally
This makes it easier to check for them with exists().
This commit is contained in:
1 parent
c472b8f2c1
commit
382c0a5405
2 files changed
+12
-4
No files matched your search
@@ -168,6 +168,14 @@ function! FugitiveParse(...) abort
|
||||
throw v:errmsg
|
||||
endfunction
|
||||
|
||||
function! FugitiveConfig(...) abort
|
||||
return call('fugitive#Config', a:000)
|
||||
endfunction
|
||||
|
||||
function! FugitiveRemoteUrl(...) abort
|
||||
return call('fugitive#RemoteUrl', a:000)
|
||||
endfunction
|
||||
|
||||
augroup fugitive
|
||||
autocmd!
|
||||
|
||||
|
||||
Reference in new issue
Block a user