Force grep to produce colourless output.

This commit is contained in:
Andy Stewart
2015-03-03 10:52:07 +01:00
parent f6d5b8297f
commit 1fae335a65
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
let s:grep_available = executable('grep')
let s:grep_command = ' | '.(g:gitgutter_escape_grep ? '\grep' : 'grep').' -e '.gitgutter#utility#shellescape('^@@ ')
let s:grep_command = ' | '.(g:gitgutter_escape_grep ? '\grep' : 'grep').' --color=never -e '.gitgutter#utility#shellescape('^@@ ')
let s:hunk_re = '^@@ -\(\d\+\),\?\(\d*\) +\(\d\+\),\?\(\d*\) @@'