mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix projectile on Windows failing to index anything with ripgrep
Due to unescaped glob arguments. Fixes #2897, and possibly #1803
This commit is contained in:
@ -270,7 +270,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
||||
((executable-find "rg")
|
||||
(append (list "rg" "--files" "--follow" "--color=never" "--hidden" "--no-messages")
|
||||
(cl-loop for dir in projectile-globally-ignored-directories
|
||||
collect "--glob" and collect (concat "!" dir))
|
||||
collect "--glob"
|
||||
collect (concat "!" dir))
|
||||
(if IS-WINDOWS (list "--path-separator" "/"))))
|
||||
((cons find-program args)))
|
||||
(unless (listp args)
|
||||
|
Reference in New Issue
Block a user