nerdcommenter icon indicating copy to clipboard operation
nerdcommenter copied to clipboard

Broken sexy comment when comment goes over a non-indented empty line

Open romgrk opened this issue 7 years ago • 0 comments

At some point, the behavior for sexy comments started being wrong. If a comment spans over an non-indented empty line, the sexy comment indentation is 0. I expect the indentation to be the same as the lowest indent of non-empty lines. Note that compact sexy comments also leave an additional empty space; I would expect a comment/uncomment to cancel each other.

Before After commenting After un-commenting
screenshot from 2018-07-25 11-46-13 screenshot from 2018-07-25 11-46-32 screenshot from 2018-07-25 11-46-46

romgrk avatar Jul 25 '18 15:07 romgrk