diff --git a/core/core-projects.el b/core/core-projects.el index c0a241e33..5215023fe 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -14,9 +14,6 @@ state are passed in.") projectile-indexing-method 'alien projectile-known-projects-file (concat doom-cache-dir "projectile.projects") projectile-require-project-root nil - projectile-project-root-files - '(".git" ".hg" ".svn" ".project" "package.json" "setup.py" "Gemfile" - "build.gradle") projectile-other-file-alist (append '(("less" "css") ("styl" "css") @@ -33,6 +30,9 @@ state are passed in.") (append (list doom-local-dir ".sync") projectile-globally-ignored-directories)) + ;; More generic project root file than .projectile + (push ".project" projectile-project-root-files-bottom-up) + ;; Projectile root-searching functions can cause an infinite loop on TRAMP ;; connections, so disable them. (defun doom*projectile-locate-dominating-file (orig-fn &rest args)