Fix "Found argument '--glob ...' which wasn't expected" error
When using +ivy/projectile-find-file.
This commit is contained in:
parent
2ae397b885
commit
3202b68b01
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
|||
((executable-find "rg")
|
||||
(append (list "rg" "-0" "--files" "--color=never" "--hidden" "--no-messages")
|
||||
(cl-loop for dir in projectile-globally-ignored-directories
|
||||
collect (format "--glob '!%s'" dir))
|
||||
collect "--glob" and 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