When I use -C to keep comments, it eats all the indents for the comments, and they end up all squashed on the left. How do I force it to keep the whitespace in front of comments intact?
I tracked the code down inside support.c in parse_line, which is where it copies the comments to the outfile if keep_comments is true. There's a section there further down for whitespace as well, if keep_spaces is true, but it never fires there for comments.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I use -C to keep comments, it eats all the indents for the comments, and they end up all squashed on the left. How do I force it to keep the whitespace in front of comments intact?
I tracked the code down inside support.c in parse_line, which is where it copies the comments to the outfile if keep_comments is true. There's a section there further down for whitespace as well, if keep_spaces is true, but it never fires there for comments.