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

fix(fmt): comment indent #1888

Merged
merged 3 commits into from
Jun 9, 2022
Merged

Commits on Jun 9, 2022

  1. fix comment indent

    rkrasiuk committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c8ee58e View commit details
    Browse the repository at this point in the history
  2. Fix postfix categorization for multiline comments

    Postfix comments try to see if they sit on an indent greater
    than the next code block. However the code was splitting the src into
    lines before removing comments to check for the next code point causing
    it to break on multiline comments
    jpopesculian committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    badbf9c View commit details
    Browse the repository at this point in the history
  3. Fix write_raw indent len

    `write_raw` wasn't appropriately trimming base_indent_len and was off by
    one in special cases. In addition `write_raw` was not setting
    is_beginning_of_line correctly
    jpopesculian committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    b645a48 View commit details
    Browse the repository at this point in the history