Skip to content

Highlighting breaks for nested bracket in min/max #59

@woody-li

Description

@woody-li

The syntax highlighting breaks when there's a nested bracket inside min or max.

Reproduced with: var, calc, attr.

VS Code version: 1.114.0

.a {
    width: min(20px, var(--font-large));
    color: inherit;
    height: 100px;
}

.b {
    width: max(20px, calc(1em + 2px));
    color: inherit;
    height: 100px;
}

.c {
    width: max(20px, attr(size));
    color: inherit;
    height: 100px;
}
Image

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