Omar Valdez 3 months ago
0 commits
19dd5aa5 main
Generate parser
file commit size mode time
.gitattributes mark tree-sitter-generated files as generated 73 B -rw-r--r-- 2 years ago
.github Run CI on pushes and pull requests NaN B d--------- 1 year ago
.gitignore SPM support (#6) 55 B -rw-r--r-- 1 year ago
Cargo.toml rebrand as tree-sitter-diff 521 B -rw-r--r-- 2 years ago
LICENSE add LICENSE 1 KiB -rw-r--r-- 2 years ago
Package.swift SPM support (#6) 1.1 KiB -rw-r--r-- 1 year ago
README.md fix links in readme 689 B -rw-r--r-- 2 years ago
assets add example highlights to readme NaN B d--------- 2 years ago
binding.gyp rebrand as tree-sitter-diff 375 B -rw-r--r-- 2 years ago
bindings SPM support (#6) NaN B d--------- 1 year ago
docs rebrand as tree-sitter-diff NaN B d--------- 2 years ago
grammar.js Support comments (#15) 2.7 KiB -rw-r--r-- 3 months ago
package-lock.json js: Update dependencies 2.3 KiB -rw-r--r-- 1 year ago
package.json Only list diff as supported file-types 922 B -rw-r--r-- 2 years ago
queries Add example highlights NaN B d--------- 2 years ago
src Generate parser NaN B d--------- 3 months ago
test Support comments (#15) NaN B d--------- 3 months ago

tree-sitter-diff

CI

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):

Clone

HTTP

Subscribe

License

MIT

Authors

Analysis

Recent Activity (90 days) 0 10 20 30 40 50 60 70 80 90 Composition [0 LOC] 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%