Open mahinshaw opened 5 years ago
I've noticed this too. It'd be great to have single-line comments (// etc. etc.
) work smoothly.
I was just about to create an issue for this. I'm working with Xpath expressions and this bug is causing me some trouble.
When I uncomment a line like
// http://example.com
I am left withhttp:example.com
. The expected output would behttp://example.com
. This does not happen when I use js2-jsx-mode. It is simple to reproduce inside a scratch buffer with rjsx-mode enabled.