Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

syntax highlighting - strings - issue related to %% #67

@colllin

Description

@colllin

It seems to create multiple nested string syntax highlights... and since my theme uses a semi-transparent background for the string highlights, you can clearly see that they are piling up on top of each other because they get darker and darker throughout the file:
image

On closer inspection, it looks like it's related to the characters %%- and %%=.
And in case it helps, this is a .erb file, and the <%% is meant to escape the ERB tag so that it will output the <% characters for use in an underscore template.
image
image
image

Moved from atom/atom#3940

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