Provide config functions globally

This makes it easier to check for them with exists().
This commit is contained in:
Tim Pope
2018-07-22 13:40:47 -04:00
parent c472b8f2c1
commit 382c0a5405
2 changed files with 12 additions and 4 deletions

View File

@@ -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!