Skip to content

entity.name equivalents #3670

@Sainan

Description

@Sainan

In tmLanguage, we can have meta patterns and so match enum MyEnum as storage.type.enum.pluto and entity.name.type.enum.pluto, which allows for nice syntax highlighting like this:
image

In Prism.js, it seems to me we are limited to only saying "enum" is a keyword, so it's rather monochromatic:
image

An equivalent of this sort of thing would be nice.

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