mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 20:24:29 +08:00
Allow opt-out of hub as git
Closes https://github.com/tpope/vim-rhubarb/issues/63
This commit is contained in:
@@ -11,7 +11,7 @@ if !exists('g:dispatch_compilers')
|
|||||||
endif
|
endif
|
||||||
let g:dispatch_compilers['hub'] = 'git'
|
let g:dispatch_compilers['hub'] = 'git'
|
||||||
|
|
||||||
if get(g:, 'fugitive_git_command', 'git') ==# 'git' && executable('hub')
|
if !exists('g:fugitive_git_command') && executable('hub')
|
||||||
let g:fugitive_git_command = 'hub'
|
let g:fugitive_git_command = 'hub'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user