Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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