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:
parent
f998c912c1
commit
b51c4fc8b3
2 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue