Fix projectile ignoring symlinks

Due to the underlying program (fd) ignoring them.
This commit is contained in:
Henrik Lissner 2020-05-02 13:03:14 -04:00
parent 29c0781916
commit e832ec5708
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -264,7 +264,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
:override #'counsel--find-return-list
(cl-destructuring-bind (find-program . args)
(cond ((executable-find doom-projectile-fd-binary)
(cons doom-projectile-fd-binary (list "-t" "f" "-E" ".git")))
(cons doom-projectile-fd-binary (list "-t" "f" "-t" "l" "-E" ".git")))
((executable-find "rg")
(append (list "rg" "--files" "--color=never" "--hidden" "--no-messages")
(cl-loop for dir in projectile-globally-ignored-directories