Skip to content

Underscores mess up code highlighting #21

@Michael-Geuenich

Description

@Michael-Geuenich

Thanks for providing this package, I mainly use it to highlight my Rmarkdown code properly.

Unfortunately, it seems that the extension does not handle underscores well when they are in unquoted variable names in my Rmarkdown file (see image below).

Screen Shot 2022-02-23 at 1 15 18 PM

When I have the extension enabled this is also an issue for any other scripts. For example, my python scripts then start looking like this whenever there is an underscore, which can become quite distracting.

Screen Shot 2022-02-23 at 1 18 02 PM

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