mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-12 13:23:53 -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:
@@ -179,7 +179,6 @@ You can customise:
|
||||
* Line highlights
|
||||
* Extra arguments for `git diff`
|
||||
* Key mappings
|
||||
* Whether or not to escape `grep` (default to no)
|
||||
* Whether or not vim-gitgutter is on initially (defaults to on)
|
||||
* Whether or not signs are shown (defaults to yes)
|
||||
* Whether or not line highlighting is on initially (defaults to off)
|
||||
@@ -263,14 +262,6 @@ let g:gitgutter_map_keys = 0
|
||||
See above for configuring maps for hunk-jumping and staging/reverting.
|
||||
|
||||
|
||||
#### Whether or not to escape `grep`
|
||||
|
||||
If you have `grep` aliased to something which changes its output, for example `grep --color=auto -H`, you will need to tell vim-gitgutter to use raw grep:
|
||||
|
||||
```viml
|
||||
let g:gitgutter_escape_grep = 1
|
||||
```
|
||||
|
||||
#### Use a custom `grep` command
|
||||
|
||||
If you use an alternative to grep, you can tell vim-gitgutter to use it here. It only needs to support extended POSIX regex.
|
||||
|
||||
Reference in New Issue
Block a user