Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: filter by file glob with helm-projectile-grep #155

Open
chasecaleb opened this issue Aug 12, 2021 · 0 comments
Open

Feature request: filter by file glob with helm-projectile-grep #155

chasecaleb opened this issue Aug 12, 2021 · 0 comments

Comments

@chasecaleb
Copy link

Expected behavior

It would be nice to be able to specify a file glob to restrict what files helm-projectile-grep searches, e.g. "*.md" to search only through markdown doc files. It looks like projectile-grep supports this already, according to its docstring:

  "Perform rgrep in the project.

With a prefix ARG asks for files (globbing-aware) which to grep in.
With prefix ARG of `-' (such as `M--'), default the files (without prompt),
to `projectile-grep-default-files'.

With REGEXP given, don't query the user for a regexp."

Actual behavior

Prefix arg is ignored

Environment & version information

  • helm-projectile version: 58123f1 (current master as of today)
  • helm version (in helm-pkg.el): emacs-helm/helm@2c6839f3, which has 3.8.0 in helm-pkg.el
  • projectile version (M-x projectile-version): bbatsov/projectile@87f6078, which has projectile-version of 2.4.0.
  • Emacs version (M-x emacs-version): 27.2
  • OS: Arch Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant