Open lucaswerkmeister opened 7 years ago
Works now for comments that don’t span multiple lines. Unfortunately, I don’t think I’ll be able to figure out the multi-line case until I get a working IDE setup again :/ but it’s better than nothing, at least.
The formatter thinks this is the correct way to indent this code:
The indentation after a binary operator (two levels)
never
stacks, but I do think that dropping it after a comment is too eager. Making the comment token inherit the ephemeral indentation (also withnever
, so for inline comments it makes no difference) should solve this.