Skip to content

Erlang string formatting directive confuses syntax highlighter #275

@ianrumford

Description

@ianrumford

Hi all,

As usual, want to express my thanks for this awesome major mode.

Bumped up to 2.2.8 a couple of days ago and saw this effect in a file containing an Erlang string formatting directive e.g.

@one 1
@two "~s"
@tre :tre

Github doesn't show the "broken" colour: the third line is all red, and, in my file, the rest of the code is red, with comments green.

If you delete the tilde, the effect goes away. Same effect with "~w" as well.

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