Fix #1320: generalize SPC *

Was formerly using ripgrep, and only ripgrep.
This commit is contained in:
Henrik Lissner 2019-04-10 20:14:50 -04:00
parent 3f751c1179
commit 3c01de8876
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 6 deletions

View file

@ -265,7 +265,7 @@ If prefix ARG is set, prompt for a known project to search from."
(user-error "There are no known projects"))
default-directory)))
(cond ((featurep! :completion ivy)
(+ivy/rg nil (rxt-quote-pcre symbol)))
(+ivy/project-search nil (rxt-quote-pcre symbol)))
((featurep! :completion helm)
(+helm/rg nil (rxt-quote-pcre symbol)))
(+helm/project-search nil (rxt-quote-pcre symbol)))
((rgrep (regexp-quote symbol))))))