Skip to content

Commit

Permalink
[Fix clojure-emacs#615] Support clojure-dart files
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoday authored and bbatsov committed Apr 18, 2022
1 parent 8aa857d commit b6f41d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## master (unreleased)

### Changes

* [#615](https://github.com/clojure-emacs/clojure-mode/issues/615): Support clojure-dart files.

## 5.14.0 (2022-03-07)

### New features
Expand Down
4 changes: 2 additions & 2 deletions clojure-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Out-of-the box `clojure-mode' understands lein, boot, gradle,
(cl-every 'stringp value))))

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

0 comments on commit b6f41d7

Please sign in to comment.