mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Improve guard for missing-git warning again.
This commit is contained in:
@@ -53,7 +53,7 @@ call s:set('g:gitgutter_async', 1)
|
|||||||
call s:set('g:gitgutter_log', 0)
|
call s:set('g:gitgutter_log', 0)
|
||||||
call s:set('g:gitgutter_git_executable', 'git')
|
call s:set('g:gitgutter_git_executable', 'git')
|
||||||
|
|
||||||
if !executable('git') && g:gitgutter_git_executable ==# 'git'
|
if !executable(g:gitgutter_git_executable)
|
||||||
call gitgutter#utility#warn('cannot find git. Please set g:gitgutter_git_executable.')
|
call gitgutter#utility#warn('cannot find git. Please set g:gitgutter_git_executable.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user