Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.
This repository was archived by the owner on May 31, 2021. It is now read-only.

attr/format/url with string concatenation #18

@tenub

Description

@tenub

Using attr, format, or url with string concatenation ruins proceeding syntax highlighting. I believe a fix would be as simple as changing:

<string>(?&lt;=url\(|format\(|attr\().+(?=\))</string>

to

<string>(?&lt;=url\(|format\(|attr\().+?(?=\))</string>

in Syntaxes/PostCSS.tmLanguage

Sample of issue:
before

Sample of fix:
after

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