mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix projectile ignoring symlinks
Due to the underlying program (fd) ignoring them.
This commit is contained in:
@ -146,7 +146,7 @@ c) are not valid projectile projects."
|
||||
;; that is significantly faster than git ls-files or find, and it respects
|
||||
;; .gitignore. This is recommended in the projectile docs.
|
||||
((executable-find doom-projectile-fd-binary)
|
||||
(setq projectile-generic-command
|
||||
(setq projectile-generic-command
|
||||
(format "%s . --color=never --type f --type l -0 -H -E .git"
|
||||
doom-projectile-fd-binary)
|
||||
projectile-git-command projectile-generic-command
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user