Skip to content

Commit 5cf0fd9

Browse files
committed
Add deps.edn to list of project markers
1 parent 59e9247 commit 5cf0fd9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* New interactive command `clojure-cycle-not`.
1111
* New defcustom `clojure-comment-regexp` for font-locking `#_` or `#_` AND `(comment)` sexps.
1212
* [#459](https://github.com/clojure-emacs/clojure-mode/issues/459): Add font-locking for new built-ins added in Clojure 1.9.
13+
* Consider `deps.edn` a project root.
1314

1415
### Changes
1516

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ For example, \[ is allowed in :db/id[:db.part/user]."
183183
(and (listp value)
184184
(cl-every 'characterp value))))
185185

186-
(defcustom clojure-build-tool-files '("project.clj" "build.boot" "build.gradle")
186+
(defcustom clojure-build-tool-files '("project.clj" "build.boot" "build.gradle" "deps.edn")
187187
"A list of files, which identify a Clojure project's root.
188188
Out-of-the box `clojure-mode' understands lein, boot and gradle."
189189
:type '(repeat string)

0 commit comments

Comments
 (0)