You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"enum" in in-line comment breaks syntax highlighting #75
What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.)
Visual Studio Code
What version of the editor are you using?
1.13.1
What color theme are you using?
Default
Repro
Please provide a code example and (optionally) a screenshot demonstrating the problem.
Using the word "enum" within an in-line comment (a comment on a line of code) break all syntax highlighting after that comment
Activity
DustinCampbell commentedon Jun 26, 2017
Good bug. Thanks!
kameko commentedon Jul 22, 2017
I've just realized it does the same thing with "class", it probably happens with all type-specifying keywords.
DustinCampbell commentedon Jul 22, 2017
Yes, that's correct.
Be a bit more restrictive in the negative lookahead for properties