Fix projectile ignoring symlinks
Due to the underlying program (fd) ignoring them.
This commit is contained in:
parent
29c0781916
commit
e832ec5708
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ c) are not valid projectile projects."
|
||||||
;; .gitignore. This is recommended in the projectile docs.
|
;; .gitignore. This is recommended in the projectile docs.
|
||||||
((executable-find doom-projectile-fd-binary)
|
((executable-find doom-projectile-fd-binary)
|
||||||
(setq projectile-generic-command
|
(setq projectile-generic-command
|
||||||
(format "%s . --color=never --type f -0 -H -E .git"
|
(format "%s . --color=never --type f --type l -0 -H -E .git"
|
||||||
doom-projectile-fd-binary)
|
doom-projectile-fd-binary)
|
||||||
projectile-git-command projectile-generic-command
|
projectile-git-command projectile-generic-command
|
||||||
projectile-git-submodule-command nil
|
projectile-git-submodule-command nil
|
||||||
|
|
|
@ -264,7 +264,7 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
|
||||||
:override #'counsel--find-return-list
|
:override #'counsel--find-return-list
|
||||||
(cl-destructuring-bind (find-program . args)
|
(cl-destructuring-bind (find-program . args)
|
||||||
(cond ((executable-find doom-projectile-fd-binary)
|
(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")
|
((executable-find "rg")
|
||||||
(append (list "rg" "--files" "--color=never" "--hidden" "--no-messages")
|
(append (list "rg" "--files" "--color=never" "--hidden" "--no-messages")
|
||||||
(cl-loop for dir in projectile-globally-ignored-directories
|
(cl-loop for dir in projectile-globally-ignored-directories
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue