Skip to content

Missing highlights for diffs when git config.commentChar is different #75

Description

@ahmedelgabri

When config.commentChar is different than # diff highlighting is not working.

I changed config.commentChar to be % instead of the default # since this conflicts with Markdown when I'm using hub CLI to open PRs etc… in specific situations.

without the parser (custom commentChar) with the parser (custom commentChar) with the parser (with default commentChar)
Image Image Image

Similar to #45

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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