Skip to content

Commit 2fddd43

Browse files
ghadishaybanbbatsov
authored andcommitted
Indent clojure.spec/fdef differently (#476)
```clj ;; before (s/fdef ::uhhuh :args (s/keys :req [::hello]) :ret any?) ;; after (s/fdef ::uhhuh :args (s/keys :req [::hello]) :ret any?) ```
1 parent e065548 commit 2fddd43

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master (unreleased)
44

5+
* Indent `fdef` (clojure.spec) like a `def`.
6+
57
## 5.7.0 (2018-04-29)
68

79
### New features

clojure-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,7 @@ work). To set it from Lisp code, use
15151515
(locking 1)
15161516
(proxy '(2 nil nil (:defn)))
15171517
(as-> 2)
1518+
(fdef 1)
15181519

15191520
(reify '(:defn (1)))
15201521
(deftype '(2 nil nil (:defn)))

0 commit comments

Comments
 (0)