Skip to content

Incorrect formatting of LESS map lookup #19498

Description

@fisker

Prettier 651ddd3
Playground link

--parser less

Input:

a {@dr: #lookup2[@var];}

Output:

a {
  @dr: #lookup2[ @var];
}

Expected output:

a {
  @dr: #lookup2[@var];
}

Why?

Note: test already exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!lang:lessIssues affecting Less-specific syntax (not plain CSS)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions