Skip to content

Incorrect syntax highlighting in heex case expression #22

@lukaszsamson

Description

@lukaszsamson

VSCode version: 1.85.1
vscode-phoenix version: 0.1.2

The following snippet is incorrectly highlighted

  <li>
    <strong>Some:</strong>
    <%= case some do %>
      <% map when is_map(map) -> %>
        <dl>
          Map
        </dl>
      <% other -> %>
        Other
    <% end %>
  </li>
Screenshot 2024-01-17 at 13 58 33

The tokens look OK, most likely it's unmatched bracket

Screenshot 2024-01-17 at 13 59 37 Screenshot 2024-01-17 at 14 00 04

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions