Commit 6e773a2
committed
Add indentation tests for as->, with-* fallback, and def* fallback
Test the as-> form (spec 2) and two implicit indentation behaviors
in clojure-indent-function:
- with-* forms get body-style indentation even without explicit
indent specs (e.g., with-custom-thing)
- Unknown def* forms (defwhatever, ns/defwhatever) also get
body-style indentation via the fallback regex match1 parent 920045f commit 6e773a2
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
569 | 599 | | |
570 | 600 | | |
571 | 601 | | |
| |||
0 commit comments