Restore .projectile recognition

Why it was removed in the first place: hlissner/doom-emacs#1974

Why it's being restored: seems this causes too much confusion. Folks ask
why projectile doesn't recognize their projects. It's too much of
maintenance hassle. We'll deal with the breaking changes project.el will
introduce when we cross that bridge.

Closes #3074
This commit is contained in:
Henrik Lissner
2020-05-18 23:34:47 -04:00
parent 95547823c6
commit 49bf79a380

View File

@ -67,7 +67,8 @@ Emacs.")
;; ;;
;; In the interest of performance, we reduce the number of project root marker ;; In the interest of performance, we reduce the number of project root marker
;; files/directories projectile searches for when resolving the project root. ;; files/directories projectile searches for when resolving the project root.
(setq projectile-project-root-files-bottom-up (setq projectile-project-root-files-bottom-up
(append '(".projectile" ; projectile's root marker
".project" ; doom project marker ".project" ; doom project marker
".git") ; Git VCS root dir ".git") ; Git VCS root dir
(when (executable-find "hg") (when (executable-find "hg")