Closed jchook closed 5 years ago
Thanks for the report - just to double check this isn't related to a recently fixed issue, can you confirm if you see this problem in the latest beta (currently 1.41.0-beta1)?
@rsese excellent spidey senses on that. Atom 1.41.0-beta1 does not have the same issue.
BTW, if anyone else ends up here wondering about this issue, I currently set my syntax to Babel as a workaround until 1.41 lands.
Prerequisites
Description
When using the tab-completion to initiate a "doc block" style comment, the grammar parser gets very confused and labels code immediately outside of the comment as
.comment.block
.This screenshot from safe mode:
This video from my normal atom env illustrates the problem more clearly:
Steps to Reproduce
Expected behavior:
Correct syntax highlighting
Actual behavior:
The JS grammar labels the JS code immediately below the upper block comment as part of the comment block.
Reproduces how often:
100%
Versions