A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/syohex/emacs-helm-ag/issues/293 below:

rg --vimgrep shows multiple lines · Issue #293 · emacsattic/helm-ag · GitHub

Actual behavior

multiple lines returned for a single line containing multiple instances of the same value

Expected behavior

just show one result, like ag does

Notes

helm-ag has this code for ag:

(defcustom helm-ag-base-command
  (if (helm-ag--windows-p)
      "ag --vimgrep"
    "ag --nocolor --nogroup")
  "Base command of `ag'"
  :type 'string)

I'm not sure why this uses --vimgrep on Windows and not on other platforms, but it could be the reason for the discrepancy we're seeing between ag and rg. What do you recommend?

References

syl20bnr/spacemacs#7370 (comment)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4