File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ For instructions on how to write these specifications, see
223
223
[ this document] ( https://docs.cider.mx/cider/indent_spec.html ) .
224
224
The only difference is that you're allowed to use lists instead of vectors.
225
225
226
- The indentation of special arguments is controlled by
226
+ The indentation of [ special arguments] ( https://docs.cider.mx/cider/indent_spec.html#special-arguments ) is controlled by
227
227
` clojure-special-arg-indent-factor ` , which by default indents special arguments
228
228
a further ` lisp-body-indent ` when compared to ordinary arguments.
229
229
@@ -234,6 +234,9 @@ An example of the default formatting is:
234
234
[my-field])
235
235
```
236
236
237
+ Note that ` defrecord ` has two special arguments, followed by the form's body -
238
+ namely the record's name and its fields vector.
239
+
237
240
Setting ` clojure-special-arg-indent-factor ` to 1, results in:
238
241
239
242
``` clojure
You can’t perform that action at this time.
0 commit comments