Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

Minus in comment causes incredibly slow highlighting #21

Open
@timo

Description

@timo

Description of issue

Files with comments that have many - in them are extremely slow, often aborting highlighting for the entire file.

Start a line with just # and maybe a space, then type - and see syntax highlighting get slower and slower, and eventually die completely.

Sample code:

# --------------------------------------

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