mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Force counsel-rg-base-command to be a list
Counsel allows `counsel-rg-base-command' to be a string or list. This backwards compatibility is a maintenance burden for Doom, so it's simpler to force it to always be a list.
This commit is contained in:
@ -207,6 +207,12 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
|||||||
;; of its own, on top of the defaults.
|
;; of its own, on top of the defaults.
|
||||||
(setq ivy-initial-inputs-alist nil)
|
(setq ivy-initial-inputs-alist nil)
|
||||||
|
|
||||||
|
;; REVIEW Counsel allows `counsel-rg-base-command' to be a string or list.
|
||||||
|
;; This backwards compatibility complicates things for Doom. Simpler to
|
||||||
|
;; just force it to always be a list.
|
||||||
|
(when (stringp counsel-rg-base-command)
|
||||||
|
(setq counsel-rg-base-command (split-string counsel-rg-base-command)))
|
||||||
|
|
||||||
;; REVIEW Fix #3215: prevents mingw on Windows throwing an error trying to
|
;; REVIEW Fix #3215: prevents mingw on Windows throwing an error trying to
|
||||||
;; expand / to an absolute path. Remove this when it is fixed upstream
|
;; expand / to an absolute path. Remove this when it is fixed upstream
|
||||||
;; in counsel.
|
;; in counsel.
|
||||||
|
Reference in New Issue
Block a user