Skip to content

Conversation

@kitbellew
Copy link
Collaborator

It considers only context bounds, unlike the earlier ifMultipleBounds which looks at all bounds.

It considers only context bounds, unlike the earlier ifMultipleBounds
which looks at all bounds.
@kitbellew kitbellew requested a review from tgodzik January 17, 2025 17:08

### `spaces.beforeContextBoundColon`

This parameter controls if a space should be used before a colon that precedes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a separate setting here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am planning to use this same set of values for spaces within braces, and it makes little sense to add those spaces after looking at some other bound which is not within those braces. or to add a completely new set of values which are likely named the same but carry a slightly different meaning. just for consistency.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks for explaining!

@kitbellew kitbellew merged commit afa1b54 into scalameta:main Jan 17, 2025
21 checks passed
@kitbellew kitbellew deleted the 4726 branch January 17, 2025 17:51
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