Skip to content

Vue.js / props starting with a negation ("!") breaks highlighting under certain conditions #412

@Thooto

Description

@Thooto

Hi,

As you can see in the screenshots below, the highlighting is broken after a prop is passed to a component in Vue under certain conditions:

Capture d’écran 2022-08-11 à 13 10 39

Capture d’écran 2022-08-11 à 13 12 05

The incorrect highlighting propagates to the rest of the file.

I'm using Volar and windicss intellisense pre-release. Does the same with release version. Disabling windicss intellisense fixes the issue.

Thanks!

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