Skip to content

Assigning class field without semicolon breaks template highlighting #18

Description

@andsmedeiros

Hello! Thanks for the useful extension!

There seems to be an issue with gjs files in a specific scenario:
When assigning a class field without using a semicolon and adding a <template> tag makes the whole template not be detected:

Image

(we are assigning setup without a semicolon, the whole template does not get recognised)

Image

(same thing but with the semicolon, template get highlighted)

This goes to some disturbing extent on multi-component files:

Image Image

(in this file with two components, beyond the two templates' contents, the white-washed section also swallows all of the JS content from the second component)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions