yoya / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

Comment indentation weirdness #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Issue #1:
Hit enter at the first line of a comment (at the end of a "/**"), and
js2-mode creates a spurious end-comment marker.

Issue #2:
When js2-indent-on-enter-key is on, and you hit enter at the end of a
comment (at the end of "**/"), js2-mode inserts "\n" at the beginning of
the line instead of at the end.

The attached patch fixes both issues.

Original issue reported on code.google.com by Nicholas.J.Santos on 24 Mar 2009 at 2:33

Attachments: