Fix doom/help-search-{load-path,loaded-files}

counsel-rg-base-command now accepts a list.

Closes #3323
This commit is contained in:
Henrik Lissner 2020-06-07 13:55:23 -04:00
parent ee972e7a3f
commit 5092bd82f9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -632,9 +632,7 @@ config blocks in your private config."
(unless (executable-find "rg") (unless (executable-find "rg")
(user-error "Can't find ripgrep on your system")) (user-error "Can't find ripgrep on your system"))
(if (fboundp 'counsel-rg) (if (fboundp 'counsel-rg)
(let ((counsel-rg-base-command (let ((counsel-rg-base-command (append counsel-rg-base-command dirs)))
(concat counsel-rg-base-command " "
(mapconcat #'shell-quote-argument dirs " "))))
(counsel-rg query nil "-Lz" prompt)) (counsel-rg query nil "-Lz" prompt))
;; TODO Add helm support? ;; TODO Add helm support?
(grep-find (grep-find