Provide config functions globally

This makes it easier to check for them with exists().
This commit is contained in:
Tim Pope committed 2018-07-27 01:46:13 -04:00
1 parent c472b8f2c1
commit 382c0a5405
2 files changed
+12 -4

No files matched your search

+8
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!