Open NoahTheDuke opened 9 months ago
This is now implemented in 1.2.9
.
If you configure :comment {:min-space-after-semi 1}
then a comment like this: ;this is a comment
will be changed after formatting into a comment like this: ; this is a comment
. The default for :min-space-after-semi
is 0, so by default no changes are made. You will need to add this to your configuration to get it to happen.
I hope this does what you want.
Hey Kim!
Our codebase is pretty inconsistent with comment styles. I don't care much about differences between 1 and more than 1 semicolon, but I do care when someone doesn't put a space between the final semicolon and the comment:
;;This line does cool stuff.
Would it be possible to add configuration to add in a space between the final semicolon and the next character when it's encountered?
Thanks so much for all your hard work.