Skip to content

~H sigil syntax highlighting breaks on < and > inside embedded elixir tags #566

Closed
@codeanpeace

Description

@codeanpeace

Working theory is that the syntax highlighting for Elixir (.ex) files is not looking for the % sign to determine a matching closing tag for embedded Elixir opening tags. This means a > character would prematurely close the embedded tag while a < character would appear to open a tag within a tag.

Actual

image
image

Expected

<%= if Enum.count(@assets) > 1 do %>
<%= for asset <- @assets do %>

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