Skip to content

Commit 2744f63

Browse files
committed
Add a note about the indentation of defn-like forms
1 parent 53ef8ac commit 2744f63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ A more compact way to do the same thing is:
186186
(->> 1))
187187
```
188188

189+
To indent something like a definition (`defn`) you can do something like:
190+
191+
``` el
192+
(put-clojure-indent '>defn :defn)
193+
```
194+
189195
You can also specify different indentation settings for symbols
190196
prefixed with some ns (or ns alias):
191197

0 commit comments

Comments
 (0)