Skip to content

Commit 90e2d5b

Browse files
committed
Tweak some wording
1 parent 3d8296e commit 90e2d5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ For instructions on how to write these specifications, see
223223
[this document](https://docs.cider.mx/cider/indent_spec.html).
224224
The only difference is that you're allowed to use lists instead of vectors.
225225

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
227227
`clojure-special-arg-indent-factor`, which by default indents special arguments
228228
a further `lisp-body-indent` when compared to ordinary arguments.
229229

@@ -234,6 +234,9 @@ An example of the default formatting is:
234234
[my-field])
235235
```
236236

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+
237240
Setting `clojure-special-arg-indent-factor` to 1, results in:
238241

239242
```clojure

0 commit comments

Comments
 (0)