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

Format: reduce redundant newlines at end of begin ... end #9741

Merged

Commits on Oct 16, 2020

  1. Reduce redundant newlines at end of begin ... end

    Follow up crystal-lang#9722
    
    The following example still invokes a formatter issue like crystal-lang#9657.
    
    ```
    begin
      1
      # Comment
    
    end
    ```
    
    This commit fixes such issues.
    makenowjust committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    f78efd9 View commit details
    Browse the repository at this point in the history
  2. Update src/compiler/crystal/tools/formatter.cr

    Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
    2 people authored and makenowjust committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    1468987 View commit details
    Browse the repository at this point in the history