Open axelarge opened 2 weeks ago
This is tricky. I considered "ignore comment lines when looking for Rule 3 alignment", but I decided it was best to not add a special case to how "Rule 3" works.
Your examples are interesting. I think if the author desires ;; comment
to be vertically aligned, then he/she should align it against condition1
. Otherwise we get the result from your second example.
At the risk of introducing too much special casing, have you considered skipping over comments when determining if rule 3 should be applied?
Consider this code:
Because the comment is used to check if rule 3 should be triggered, it gets reformatted into:
While I understand the reasoning, personally I expected it to result in
What do you think?