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

ScalafmtDynamic: fix handling of .md files #2918

Merged
merged 1 commit into from
Nov 23, 2021

Commits on Nov 23, 2021

  1. ScalafmtDynamic: fix handling of .md files

    When handling of `.md` files was added to `Scalafmt.formatCode` method
    (see scalameta#2563), `ScalafmtDynamic.tryFormat` should have added support for
    versions before 3.0.0-rc7 (which came out with that change), instead of
    2.6.3 which added support for `.sbt` and `.sc`.
    
    The logic in `ScalafmtDynamic` needs to complement (rather than mirror)
    the logic in `Scalafmt.formatCode`.
    kitbellew committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    ac9703a View commit details
    Browse the repository at this point in the history