tree-sitter-diff
July 16, 2026 ยท View on GitHub
A tree-sitter grammar for git unified diffs
Highlighting a .diff file:
Injecting this grammar into tree-sitter-git-commit
in a verbose commit (git commit --verbose):

July 16, 2026 ยท View on GitHub
A tree-sitter grammar for git unified diffs
Highlighting a .diff file:
Injecting this grammar into tree-sitter-git-commit
in a verbose commit (git commit --verbose):
