Skip to content

Commit 5a47f02

Browse files
committed
[Fix clojure-emacs#615] Support clojure-dart files
1 parent 8aa857d commit 5a47f02

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## master (unreleased)
44

5+
### Changes
6+
7+
* [#615](https://github.com/clojure-emacs/clojure-mode/issues/615): Support clojure-dart files.
8+
59
## 5.14.0 (2022-03-07)
610

711
### New features

clojure-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Out-of-the box `clojure-mode' understands lein, boot, gradle,
200200
(cl-every 'stringp value))))
201201

202202
(defcustom clojure-directory-prefixes
203-
'("\\`clj[scx]?\\.")
203+
'("\\`clj[scxd]?\\.")
204204
"A list of directory prefixes used by `clojure-expected-ns'.
205205
The prefixes are used to generate the correct namespace."
206206
:type '(repeat string)
@@ -3070,7 +3070,7 @@ With universal argument \\[universal-argument], act on the \"top-level\" form."
30703070
;;;###autoload
30713071
(progn
30723072
(add-to-list 'auto-mode-alist
3073-
'("\\.\\(clj\\|dtm\\|edn\\)\\'" . clojure-mode))
3073+
'("\\.\\(clj\\|cljd\\|dtm\\|edn\\)\\'" . clojure-mode))
30743074
(add-to-list 'auto-mode-alist '("\\.cljc\\'" . clojurec-mode))
30753075
(add-to-list 'auto-mode-alist '("\\.cljs\\'" . clojurescript-mode))
30763076
;; boot build scripts are Clojure source files

0 commit comments

Comments
 (0)