Closed YuriGor closed 5 years ago
Bothers me too.
To be precise, the issue is not in object literals. I've detected that commenting out stops working when cursor is inside string literlal. fyi @borela
I sent a patch on the master branch that should fix the empty space artifact, I'll check the string literal issue.
@StreetStrider & @YuriGor I sent a patch on the master branch which should fix both problems, the issue was the way it detected string literals, please check if there are no side effects.
@borela works perfectly for me, thank you @StreetStrider I am not sure how to reproduce your case
@YuriGor The patch also included a fix for that case too.
Released the fix https://github.com/borela/naomi/releases/tag/v4.2.7
Confirming it's working ok.
Try to
ctrl+/
on title or subtitle lineNote that native JS syntax works here but incorrectly: It comments fine, but leaves extra space character before the text, so please don't repeat its mistake.