nerdcommenter
nerdcommenter copied to clipboard
uncomment sexy mode
Hi,
By comment one line with sexy code like this:
Then I uncomment it with command NERDCommenterUncomment, it becomes
This shows that, for one line sexy comment, the uncomment operation cannot resume the sexy comment. Is this designed to be like this?
The plugin cannot reliably guess whether an existing comment is a regular or a sexy format one. You must specify.
This can be done by setting let g:NERDCompactSexyComs = 1 or by using the explicit sexy comment/uncomment function and related binding to do the uncomment operation.