Fix counsel-file-jump advice for windows users

Was using the wrong arguments for windows version of ripgrep.
This commit is contained in:
Henrik Lissner 2020-02-24 22:11:36 -05:00
parent a426b73501
commit 9393680909
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -267,7 +267,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
(cond ((executable-find doom-projectile-fd-binary)
(cons doom-projectile-fd-binary (list "-t" "f" "-E" ".git")))
((executable-find "rg")
(cons "rg" (list "--files" "--hidden" "--no-messages")))
(split-string (format counsel-rg-base-command "--files --no-messages") " " t))
((cons find-program args)))
(unless (listp args)
(user-error "`counsel-file-jump-args' is a list now, please customize accordingly."))