mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-18 00:03:43 -05:00
Provide config functions globally
This makes it easier to check for them with exists().
This commit is contained in:
@@ -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