tree-sitter-diff A tree-sitter grammar for diffs Highlighting a .diff file: Injecting this grammar into tree-sitter-git-commit in a verbose commit (git commit --verbose):