Reduce list of root files projectile searches for

And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.

Might help #1317
This commit is contained in:
Henrik Lissner 2019-10-19 15:25:29 -04:00
parent e1edbcb3d9
commit 9b25582be1
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
12 changed files with 82 additions and 1 deletions

View file

@ -17,6 +17,9 @@ If the depth is 1, the first directory in src/java/net/lissner/game/MyClass.java
is removed: java.net.lissner.game.
If the depth is 2, the first two directories are removed: net.lissner.game.")
(after! projectile
(pushnew! projectile-project-root-files "gradlew" "build.gradle"))
;;
;; java-mode