bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

helm-projectile-ag ignores options #109

Closed junjizhi closed 6 years ago

junjizhi commented 6 years ago

Expected behavior

When I do C-u + M-x helm-projectile-ag, and passes down ag option, e.g., --js, and it passes down to helm-do-ag.

Actual behavior

The options get ignored and never passes down to helm-ag.

To enter the ag option, I could set (helm-ag-always-set-extra-option -1) but doing so will prompt the extra option after the first option: prompt. This is not a desired behaviour.

Steps to reproduce the problem

  1. C-u + M-x helm-projectile-ag
  2. option: --js
  3. The file filter never takes effect, and hits show up in all types of files.

Backtraces if necessary (M-x toggle-debug-on-error)

N/A

Environment & version information