mark-wiemer-org/ahkpp

Comments placed at end of line shifting left

Closed this issue · 1 comments

I often add a comment at the end of a line with four spaces before the semi-colon, and I'm finding that the formatter is concatenating the spaces into a single space.

Unformatted input

#noEnv    ;// prevents empty variables from being looked up
drawMenuItem__exit()    ;// call this function

Actual formatted output

#noEnv ;// prevents empty variables from being looked up
drawMenuItem__exit() ;// call this function

This issue is relevant with #94. I have plans to resolve it in near future. But it will disable check for multiply spaces between all words, not only for comments.