File tree 1 file changed +19
-19
lines changed
1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -22,32 +22,32 @@ to use. Choose from several common presets:
22
22
* `standard` (default):
23
23
Conventional Clojure indentation. (Clojure Style Guide [1]) >
24
24
25
- (my-fn 1
26
- 2 )
27
-
28
- (my-fn
29
- 1
30
- 2 )
25
+ |(filter even?
26
+ | [1 2 3] )
27
+ |
28
+ |(filter
29
+ | even?
30
+ | [1 2 3] )
31
31
<
32
32
* `traditional` :
33
33
Indent like traditional Lisps. >
34
34
35
- (my-fn 1
36
- 2 )
37
-
38
- (my-fn
39
- 1
40
- 2 )
35
+ |(filter even?
36
+ | [1 2 3] )
37
+ |
38
+ |(filter
39
+ | even?
40
+ | [1 2 3] )
41
41
<
42
42
* `uniform` :
43
43
Indent uniformly to 2 spaces with no alignment (aka Tonsky indentation [2]).
44
44
>
45
- (my-fn 1
46
- 2 )
47
-
48
- (my-fn
49
- 1
50
- 2 )
45
+ |(filter even?
46
+ | [1 2 3] )
47
+ |
48
+ |(filter
49
+ | even?
50
+ | [1 2 3] )
51
51
<
52
52
[1]: https://guide.clojure.style/
53
53
[2]: https://tonsky.me/blog/clojurefmt/
@@ -86,7 +86,7 @@ Pick from the following multi-line string indent styles:
86
86
* `pretty` :
87
87
Align to the back of the `" ` or `#" ` delimiter.
88
88
>
89
- |(def aligned
89
+ |(def pretty
90
90
| "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
91
91
| eiusmod tempor incididunt ut labore et dolore magna aliqua.")
92
92
<
You can’t perform that action at this time.
0 commit comments