Skip to content

"enum" in in-line comment breaks syntax highlighting #75

Closed

Description

@kameko

Details

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
image

Activity

  1. DustinCampbell commented on Jun 26, 2017

    @DustinCampbell
    Member

    Good bug. Thanks!

  2. kameko commented on Jul 22, 2017

    @kameko
    Author

    I've just realized it does the same thing with "class", it probably happens with all type-specifying keywords.

  3. DustinCampbell commented on Jul 22, 2017

    @DustinCampbell
    Member

    Yes, that's correct.

  4. added a commit that references this issue on May 14, 2018
    9252953
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions