mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-08 04:54:46 +08:00
Enable hub if installed
This commit is contained in:
@@ -6,6 +6,10 @@ if exists("g:loaded_rhubarb") || v:version < 700 || &cp
|
||||
endif
|
||||
let g:loaded_rhubarb = 1
|
||||
|
||||
if get(g:, 'fugitive_git_executable', 'git') ==# 'git' && executable('hub')
|
||||
let g:fugitive_git_executable = 'hub'
|
||||
endif
|
||||
|
||||
" Utility {{{1
|
||||
|
||||
function! s:throw(string) abort
|
||||
|
||||
Reference in New Issue
Block a user