core-project: use default projectile project root files
This commit is contained in:
parent
42fec8494d
commit
d160da2c57
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,6 @@ state are passed in.")
|
||||||
projectile-indexing-method 'alien
|
projectile-indexing-method 'alien
|
||||||
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
projectile-known-projects-file (concat doom-cache-dir "projectile.projects")
|
||||||
projectile-require-project-root nil
|
projectile-require-project-root nil
|
||||||
projectile-project-root-files
|
|
||||||
'(".git" ".hg" ".svn" ".project" "package.json" "setup.py" "Gemfile"
|
|
||||||
"build.gradle")
|
|
||||||
projectile-other-file-alist
|
projectile-other-file-alist
|
||||||
(append '(("less" "css")
|
(append '(("less" "css")
|
||||||
("styl" "css")
|
("styl" "css")
|
||||||
|
@ -33,6 +30,9 @@ state are passed in.")
|
||||||
(append (list doom-local-dir ".sync")
|
(append (list doom-local-dir ".sync")
|
||||||
projectile-globally-ignored-directories))
|
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
|
;; Projectile root-searching functions can cause an infinite loop on TRAMP
|
||||||
;; connections, so disable them.
|
;; connections, so disable them.
|
||||||
(defun doom*projectile-locate-dominating-file (orig-fn &rest args)
|
(defun doom*projectile-locate-dominating-file (orig-fn &rest args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue