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

the balanced line #20

Merged
merged 3 commits into from
Dec 20, 2023
Merged

the balanced line #20

merged 3 commits into from
Dec 20, 2023

Commits on Dec 20, 2023

  1. the balanced line

    Balance newlines in various places:
    
    * in sections (var, type etc), use long-form when contents span multiple
    lines already
    * in if/statement expressions, use compact single-line format when it
    fits
    arnetheduck committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    e43e1e4 View commit details
    Browse the repository at this point in the history
  2. line-break parameters if pragma doesn't fit

    this typically puts the pragma on its own line together with the return
    type which doesn't add lines but makes the parameters more visible
    arnetheduck committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    697e1d4 View commit details
    Browse the repository at this point in the history
  3. format

    arnetheduck committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    3236fce View commit details
    Browse the repository at this point in the history