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

Don't change the indent for parentheses-enclosed expressions #1410

Commits on Jun 28, 2022

  1. Don't change the indent for parentheses-enclosed expressions

    ### What's done:
    
     * From now on, parentheses (`LPAR`/`RPAR`) don't increment or decrement the
       indent unless they're a part of a function declaration or a function call.
     * Parentheses which just enclose an expression don't affect the indent at all.
     * This fixes #1409.
    0x6675636b796f75676974687562 committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    023496c View commit details
    Browse the repository at this point in the history
  2. Add unit tests

    ### What's done:
    
     * Unit tests added
    0x6675636b796f75676974687562 committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    a88d8ea View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Add support for the LPAR immediately followed by a newline special case

    ### What's done:
    
     * Unit tests corrected.
     * `IndentationRule` fixed.
    0x6675636b796f75676974687562 committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    a848a3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cf4d5a View commit details
    Browse the repository at this point in the history
  3. Correct file formatting

    ### What's done:
    
     * Formatting corrected.
    0x6675636b796f75676974687562 committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    ba086e8 View commit details
    Browse the repository at this point in the history