-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ns form: add linebreak after :refer-clojure #88
Comments
This is a good point; I will give it a think. When I was looking at existing code examples for |
I would vote for consistency especially that |
lol if we're voting, I vote against splitting In terms of existing code, grep.app has 3900 results for Maybe the heuristic here is only split across lines when there's more than |
IMO this is a pretty compelling argument for keeping the current behavior:
|
Random thought this morning: would this be a good default for all the other keys as well? I currently always put a newline after require and import, but there are devs who prefer to be compact when possible. |
I think there should always be a newline after But I think this is one of those cases where once the formatter is adopted and all |
Every clause but
:refer-clojure
is currently (@chrisoakman/[email protected]) followed by a linebreak, resulting in a somewhat inconsistent output:I suggest adding a linebreak there too:
The text was updated successfully, but these errors were encountered: