Open hiberabyss opened 7 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![image](https://cloud.githubusercontent.com/assets/2898670/19853095/31c5a4bc-9fa2-11e6-91df-182bc15cb26e.png)
\vv
, following error occurs:The reason is that
ag
does not support multiple--file-search-regex
, while the generated grep commands looks like this: