Open hiberabyss opened 8 years ago
I also use ag
due to its significant search speed. The referenced commit just disables file type selection.
This could however be implemented using ag --file-search-regex="(\.c|\.h)$" <regex>
for several file types. It would need a refactoring of the implementation and options to support another way of passing multiple file types.
When with following setting:
Search something with
\vv
, following error occurs:The reason is that
ag
does not support multiple--file-search-regex
, while the generated grep commands looks like this: