-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to lign maps and bindings
This commit adds the option to allow maps and bindings. It does so by adding two separate configurable options: - align-maps? - align-bindings? Bindings specifically are further configurable by a cljfmt option: - align-bindings-args This is a map of the form `{form #{1 2}}` that maps the form's expected binding positions. An example is `{let #{0}}` implying that a `let` symbol is immediately followed by a binding. The binding is expected to be the first argument.
- Loading branch information
Showing
4 changed files
with
303 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{let #{0} | ||
doseq #{0} | ||
go-loop #{0} | ||
binding #{0} | ||
with-open #{0} | ||
loop #{0} | ||
for #{0} | ||
with-local-vars #{0} | ||
with-redefs #{0}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters