Clean up exposure of the grep command

This change breaks up the determining of the user's grep command, and
the arguments it sends it.

Configuration is now:

    let g:gitgutter_grep_command = 'grep --color=never -e'

This makes it easier for users to configure now, though not quite as
flexible.
This commit is contained in:
Dan Church
2016-01-11 11:14:32 -06:00
committed by Andy Stewart
parent 95734c6f6b
commit 8d229c222c
3 changed files with 6 additions and 6 deletions

View File

@@ -217,7 +217,7 @@ TO ESCAPE GREP
To use a custom invocation for grep, use this:
>
let g:gitgutter_grep_command = ' | grep --color=never -e "^@@ "'
let g:gitgutter_grep_command = 'grep --color=never -e'
<
To avoid any alias you have for grep, use this: