Use g:gitgutter_grep instead of grep in debug command

Closes #741.
This commit is contained in:
Andy Stewart
2020-10-27 16:40:39 +00:00
parent ea79bc01c2
commit e480eb2b63

View File

@@ -42,10 +42,10 @@ function! s:git_version()
endfunction
function! s:grep_version()
let v = system('grep --version')
let v = system(g:gitgutter_grep.' --version')
call s:output( substitute(v, '\n$', '', '') )
let v = system('grep --help')
let v = system(g:gitgutter_grep.' --help')
call s:output( substitute(v, '\%x00', '', 'g') )
endfunction