From 90b90b2aa8f4e2d315b8968a30bca119e8e4fda6 Mon Sep 17 00:00:00 2001 From: Nathan Huizinga Date: Sat, 20 May 2017 16:38:31 +0200 Subject: [PATCH] Bug fixes for "git grep" issues #39 and #68. --- plugin/EasyGrep.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/EasyGrep.vim b/plugin/EasyGrep.vim index eb90012..2d05a11 100755 --- a/plugin/EasyGrep.vim +++ b/plugin/EasyGrep.vim @@ -2427,11 +2427,11 @@ function! s:ConfigureGrepCommandParameters() call s:RegisterGrepProgram("git", { \ 'req_str_programargs': 'grep -n', \ 'req_bool_supportsexclusions': '0', - \ 'req_str_recurse': '-R', + \ 'req_str_recurse': '', \ 'req_str_caseignore': '-i', \ 'req_str_casematch': '', \ 'opt_str_patternprefix': '"', - \ 'opt_str_patternpostfix': '"', + \ 'opt_str_patternpostfix': '" --', \ 'opt_str_wholewordprefix': '', \ 'opt_str_wholewordpostfix': '', \ 'opt_str_wholewordoption': '-w ',