Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/the-mikedavis/tree-sitter-diff
A tree-sitter grammar for `diff` output
https://github.com/the-mikedavis/tree-sitter-diff
diff parser tree-sitter
Last synced: about 2 months ago
JSON representation
A tree-sitter grammar for `diff` output
- Host: GitHub
- URL: https://github.com/the-mikedavis/tree-sitter-diff
- Owner: the-mikedavis
- License: mit
- Created: 2021-12-23T22:48:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-14T13:56:19.000Z (4 months ago)
- Last Synced: 2024-12-10T23:41:37.897Z (about 2 months ago)
- Topics: diff, parser, tree-sitter
- Language: JavaScript
- Homepage: https://the-mikedavis.github.io/tree-sitter-diff/
- Size: 809 KB
- Stars: 40
- Watchers: 3
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `tree-sitter-diff`
[![CI][ci-badge]][ci-workflow]
_A [tree-sitter][tree-sitter] grammar for `diff`s_
Highlighting a `.diff` file:
Injecting this grammar into [tree-sitter-git-commit][tree-sitter-git-commit]
in a verbose commit (`git commit --verbose`):[ci-badge]: https://github.com/the-mikedavis/tree-sitter-diff/actions/workflows/ci.yml/badge.svg
[ci-workflow]: https://github.com/the-mikedavis/tree-sitter-diff/actions/workflows/ci.yml
[tree-sitter]: https://tree-sitter.github.io/tree-sitter/
[tree-sitter-git-commit]: https://github.com/the-mikedavis/tree-sitter-git-commit