tree-sitter-gitcommit icon indicating copy to clipboard operation
tree-sitter-gitcommit copied to clipboard

Missing highlights for diffs when `git config.commentChar` is different

Open ahmedelgabri opened this issue 9 months ago • 0 comments

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

ahmedelgabri avatar Feb 23 '25 19:02 ahmedelgabri