Commit 88c78bf
Indent "let", "when" and "while" as function form if not at start (#497)
"let", "when" and "while" are considered to be a macro form normally:
(when foo
bar)
Also you can introduce macros that start with "let", "when" or "while" that
will be indented like macro forms:
(when-foo-bar
1
2
3)
But when "let", "when" and "while" are not in the beginning of a symbol they are
now treated as function forms:
(foo-when-bar 1
2
3)1 parent fa2d6ff commit 88c78bf
File tree
3 files changed
+8
-2
lines changed- test
3 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | | - | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1311 | 1314 | | |
1312 | 1315 | | |
1313 | 1316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
425 | 427 | | |
426 | 428 | | |
427 | 429 | | |
| |||
0 commit comments