Don't null-byte delimit ripgrep file list

This commit is contained in:
Henrik Lissner 2020-04-26 02:01:10 -04:00
parent edef4d6c7d
commit 8532aa8dbe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -262,7 +262,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")
(append (list "rg" "-0" "--files" "--color=never" "--hidden" "--no-messages")
(append (list "rg" "--files" "--color=never" "--hidden" "--no-messages")
(cl-loop for dir in projectile-globally-ignored-directories
collect "--glob" and collect (concat "!" dir))
(if IS-WINDOWS (list "--path-separator /"))))