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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

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 '(".project" ; doom project marker (append '(".projectile" ; projectile's root marker
".project" ; doom project marker
".git") ; Git VCS root dir ".git") ; Git VCS root dir
(when (executable-find "hg") (when (executable-find "hg")
'(".hg")) ; Mercurial VCS root dir '(".hg")) ; Mercurial VCS root dir