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:
parent
1ff37f9fa4
commit
4fc11b696e
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ And if it's a function, evaluate it."
|
||||||
(put 'projectile-git-submodule-command 'initial-value projectile-git-submodule-command)
|
(put 'projectile-git-submodule-command 'initial-value projectile-git-submodule-command)
|
||||||
(setq projectile-git-submodule-command nil
|
(setq projectile-git-submodule-command nil
|
||||||
;; Include and follow symlinks in file listings.
|
;; 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-indexing-method 'hybrid
|
||||||
projectile-generic-command
|
projectile-generic-command
|
||||||
(lambda (_)
|
(lambda (_)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue