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

State: correctly compute line widths in strings and interpolations with strip margin #3095

Merged
merged 3 commits into from
Feb 2, 2022

Conversation

kitbellew
Copy link
Collaborator

Fixes #3090.

  • For strings, didn't use the parameter to .stripMargin call to detect the right strip margin character.
  • For interpolations, didn't handle strip margin at all

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

Scalafmt is not idempotent
2 participants