mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 04:23:46 -05:00
Remove feature gitgutter_escape_grep
Reverts feature introduced in 5c23cadf57
In order to use an escaped grep, please replace
`g:gitgutter_escape_grep=1` with:
let g:gitgutter_grep_command = '\grep --color=never -e'
This commit is contained in:
@@ -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 = (g:gitgutter_escape_grep ? '\grep' : 'grep')
|
||||
let s:grep_command = 'grep'
|
||||
let s:grep_help = gitgutter#utility#system('grep --help')
|
||||
if s:grep_help =~# '--color'
|
||||
let s:grep_command .= ' --color=never'
|
||||
|
||||
Reference in New Issue
Block a user