Skip to content

Commit 9b9bd5f

Browse files
cdorratbbatsov
authored andcommitted
Add shadow-cljs.edn to the default build tool files list
1 parent 615ad75 commit 9b9bd5f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* Indent `fdef` (clojure.spec) like a `def`.
88
* The results of `clojure-project-dir` are cached by default to optimize performance.
9+
* Add `shadow-cljs.edn` to the default list of build tool files.
910

1011
## 5.7.0 (2018-04-29)
1112

clojure-mode.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ For example, \[ is allowed in :db/id[:db.part/user]."
178178
(and (listp value)
179179
(cl-every 'characterp value))))
180180

181-
(defcustom clojure-build-tool-files '("project.clj" "build.boot" "build.gradle" "deps.edn")
181+
(defcustom clojure-build-tool-files '("project.clj" "build.boot" "build.gradle" "deps.edn" "shadow-cljs.edn")
182182
"A list of files, which identify a Clojure project's root.
183-
Out-of-the box `clojure-mode' understands lein, boot, gradle
184-
and tools.deps."
183+
Out-of-the box `clojure-mode' understands lein, boot, gradle,
184+
shadow-cljs and tools.deps."
185185
:type '(repeat string)
186186
:package-version '(clojure-mode . "5.0.0")
187187
:safe (lambda (value)

0 commit comments

Comments
 (0)