Skip to content

@media groups not highlighted properly #11

@amadeus

Description

@amadeus

It appears that any @media stuff within the opening { and closing } are not initially highlighted correctly because it's interpreted as cssPropRegion.

This sort of fixes itself after that first rule set since the closing } closes the cssPropRegion. However, it means the final closing } of the @media group is then not highlighted at all since it's just considered arbitrary text.

I don't know Vim syntax API well enough to fix this quickly, the only way I can think of is a hefty re-write of how cssPropRegion is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions