mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak: projectile: don't follow symlinks by default
Experienced users (the type to use symlinks in their projects) can add -L back to `projectile-git-fd-args`, otherwise, its poorer UX for beginners if Projectile indexes symlinked build artifacts (like 'result' symlinks by Nix); i.e. things they didn't symlink themselves. Fix: #7781
This commit is contained in:
@ -183,7 +183,7 @@ And if it's a function, evaluate it."
|
||||
(put 'projectile-git-submodule-command 'initial-value projectile-git-submodule-command)
|
||||
(setq projectile-git-submodule-command nil
|
||||
;; Include and follow symlinks in file listings.
|
||||
projectile-git-fd-args (concat "-L -tl " projectile-git-fd-args)
|
||||
projectile-git-fd-args (concat "-tl " projectile-git-fd-args)
|
||||
projectile-indexing-method 'hybrid
|
||||
projectile-generic-command
|
||||
(lambda (_)
|
||||
|
Reference in New Issue
Block a user