Skip to content

Decorators are not correctly highlighted #479

@taxilian

Description

@taxilian

When using a decorator in typescript the decorator should be highlighted as a function, since it is an implicit function call.

Currently, @foo and @foo() are not highlighted the same, but since both are clearly decorator calls they should be; in particular @foo is currently not highlighted any particular color.

I tried to figure out how to add this myself but haven't been successful so far -- I'm just not familiar with how tmLanguage files work :-/ If you want to give me tips to get started I'm willing to try to do this myself

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