The Silver Surfer (ag) integration in Spacemacs supports passing extra arguments to ag (like --py) when performing the search (foo --py works, for example). Even though Ripgrep has this same functionality (via --type) I can't figure out if it's possible to pass these when doing a search from Spacemacs:
--type py foo results in
error: The following required arguments were not provided:
<PATTERN>
USAGE: …
--not-an-argument foo results in
error: Found argument '--not-an-argument' which wasn't expected, or isn't valid in this context
USAGE: …
So something is happening, just not the right kind of something.
The Silver Surfer (ag) integration in Spacemacs supports passing extra arguments to ag (like
--py
) when performing the search (foo --py
works, for example). Even though Ripgrep has this same functionality (via--type
) I can't figure out if it's possible to pass these when doing a search from Spacemacs:--type py foo
results in--not-an-argument foo
results inSo something is happening, just not the right kind of something.