Do not use --color=never flag for grep.

See #410.
This commit is contained in:
Andy Stewart
2017-04-03 13:30:23 +01:00
parent 092369c19c
commit 9ecce5a269
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ if exists('g:gitgutter_grep_command')
else
let s:grep_available = executable('grep')
if s:grep_available
let s:grep_command = 'grep --color=never'
let s:grep_command = 'grep'
endif
endif
let s:hunk_re = '^@@ -\(\d\+\),\?\(\d*\) +\(\d\+\),\?\(\d*\) @@'