-
Notifications
You must be signed in to change notification settings - Fork 21
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
Respect ribbon
for function call as function argument
#188
Comments
Sadly… it's practically impossible, at least without replacing
The behaviour that you (and to be fair, I… as well) expect from these things is akin to the paragraph behavior in the sense that we want And When I was working on #153, that was my first implementation. But I noticed it would not work like that. eyer_hosted_match:cluster_id(eyer_hosted_match:canonical_id(eyer_hosted_match:new([{id,
HashKey}]),
attr(?CANONICAL_ID,
AttrMap,
undefined)),
attr(?CLUSTER_ID, AttrMap, undefined)) The third alternative, which is the default one now (but guarded behind the flag I introduced in #172) is to explicitly tell It's not ideal and it may lead to some unexpected, undesired, or seeming inconsistent behavior. In any case, if you would like to take a deep dive into the formatter and |
I added a link to this thread in the README, by the way. |
This is related to #199. |
Currently,
default_formatter
formats this code……like this…
I would like it to be formatted like this…
(especially since it's not going over
ribbon
)The text was updated successfully, but these errors were encountered: