Skip to content

Commit ae0ed33

Browse files
Malabarbakommen
authored andcommitted
[Fix #304] Indentation of forms with metadata specs
We were indenting like this (ns ^:doc app.core (:gen-class)) Now we indent like this (ns ^:doc app.core (:gen-class))
1 parent 358972c commit ae0ed33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clojure-mode-indentation-test.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ values of customisable variables."
153153
(ala/bala top
154154
|one)")
155155

156+
(check-indentation form-with-metadata
157+
"
158+
(ns ^:doc app.core
159+
|(:gen-class))"
160+
"
161+
(ns ^:doc app.core
162+
|(:gen-class))")
163+
156164

157165
(provide 'clojure-mode-indentation-test)
158166

0 commit comments

Comments
 (0)