Fix doom/help-search-load-path & doom/help-search-loaded-files
When counsel-rg-base-command is a string, instead of a list.
This commit is contained in:
parent
b091a43fc7
commit
7bec0e3518
1 changed files with 5 additions and 1 deletions
|
@ -633,7 +633,11 @@ config blocks in your private config."
|
|||
(unless (executable-find "rg")
|
||||
(user-error "Can't find ripgrep on your system"))
|
||||
(if (fboundp 'counsel-rg)
|
||||
(let ((counsel-rg-base-command (append counsel-rg-base-command dirs)))
|
||||
(let ((counsel-rg-base-command
|
||||
(if (stringp counsel-rg-base-command)
|
||||
(format counsel-rg-base-command
|
||||
(concat "%s " (mapconcat #'shell-quote-argument dirs " ")))
|
||||
(append counsel-rg-base-command dirs))))
|
||||
(counsel-rg query nil "-Lz" prompt))
|
||||
;; TODO Add helm support?
|
||||
(grep-find
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue