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

Add config option for trailing closure rewriting #1789

Closed
wants to merge 1 commit into from

Commits on Oct 27, 2024

  1. Add config option for trailing closure rewriting

    Default to the automatic expansion introduced in
    90c124c but allow the user to disable
    it via a configuration file.
    
    This is expressed as an enumeration rather than a boolean flag because
    there is room for other levels of rewriting. E.g. for trailing closures,
    a "basic" level might be implemented as rewriting to a pair of brackets
    on the same line, with a single placeholder, rather than the "full"
    multi-line behavior.
    woolsweater committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    968ff0f View commit details
    Browse the repository at this point in the history