- Emacs 25.1.1
- Fedora 25
- ripgrep 0.3.2
helm-ag--last-command is ("rg" "--smart-case" "--no-heading" "--vimgrep" "asdf")
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)
helm-ag--last-commandis("rg" "--smart-case" "--no-heading" "--vimgrep" "asdf")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:
I'm not sure why this uses
--vimgrepon Windows and not on other platforms, but it could be the reason for the discrepancy we're seeing betweenagandrg. What do you recommend?References
syl20bnr/spacemacs#7370 (comment)