dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

Grep 2.10 --include is broken #46

Open jpmv27 opened 7 years ago

jpmv27 commented 7 years ago

Wasted some time today struggling with trying to get vim-easygrep to work on a Ubuntu 12.04 box. Turns out this release has grep version 2.10, in which --include only works properly when -R option is also present (as far as I can tell.) Otherwise, it seems to work as --exclude.

Since vim-easygrep depends so much on --include in some modes, would it be worthwhile to add a test for this buggy version and warn the user?