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

Fixed alignment overriding #1869

Merged
merged 3 commits into from
Apr 14, 2020
Merged

Fixed alignment overriding #1869

merged 3 commits into from
Apr 14, 2020

Conversation

poslegm
Copy link
Collaborator

@poslegm poslegm commented Apr 13, 2020

Fixes #1861

Fixed for alignment. But global problem is still here:

  1. every contributor and code-reviewer can forgot the styleMap and look at the initStyle;
  2. There is no documentation about what configs can't be overridden.

File override looks like more reliable and simple mechanism. What do you think, should we continue to support config overrides for code blocks or deprecate it in favor of file override?

Earlier, if in the `.scalafmt.conf` was `align=none`, align overrides
through comments also fails
@poslegm poslegm merged commit d06ad1a into scalameta:master Apr 14, 2020
@poslegm poslegm deleted the dynamic-config branch April 14, 2020 09:43
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.

local comment configuration does not work
2 participants