Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
nimpretty changes indentation level of trailing comment #9398
because regular comments aren't part of AST?
what if we made them part of AST ? (and have a field indicating whether they're doc comment or regular)
there are other use cases, for eg:
They were but users complained. ;-) Ok, it also implied that comments could only be inserted in specific parts of the code and it's a messy thing.
Anyway, it's hard to fix because of other reasons. (Or maybe not hard, just annoying.)