Skip to content
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

Support align.tokens={none,some,more,most} #1215

Merged
merged 1 commit into from
Jun 5, 2018
Merged

Conversation

olafurpg
Copy link
Member

@olafurpg olafurpg commented Jun 5, 2018

Instead of making rules more complicated to support

align = more
align.openParenCallSite = true

We make it easier to override align.tokens by supporting

align.tokens = more
align.openParenCallSite = true

Fixes #1202

Instead of making rules more complicated to support
```
align = more
align.openParenCallSite = true
```
We make it easier to override `align.tokens` by supporting
```
align.tokens = more
align.openParenCallSite = true
```
@olafurpg olafurpg merged commit 41558eb into scalameta:master Jun 5, 2018
@olafurpg olafurpg deleted the 1202 branch June 5, 2018 21:22
@olafurpg olafurpg added this to the v1.6.0-RC2 milestone Jun 5, 2018
@joan38
Copy link
Contributor

joan38 commented Jun 5, 2018

@olafurpg how does it work in regards to the custom tokens like this one?:

align.tokens = [{code = "hey", owner = "ho"}]

Is it:

align.tokens = [{code = "hey", owner = "ho"}, more]

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants