mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-09 13:34:54 +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
|
endif
|
||||||
let g:loaded_rhubarb = 1
|
let g:loaded_rhubarb = 1
|
||||||
|
|
||||||
|
if get(g:, 'fugitive_git_executable', 'git') ==# 'git' && executable('hub')
|
||||||
|
let g:fugitive_git_executable = 'hub'
|
||||||
|
endif
|
||||||
|
|
||||||
" Utility {{{1
|
" Utility {{{1
|
||||||
|
|
||||||
function! s:throw(string) abort
|
function! s:throw(string) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user