tree-sitter-git-commit

June 27, 2025 ยท View on GitHub

NOTE: This grammar is deprecated in favor of the more featureful gbprod/tree-sitter-gitcommit. An example change for migrating an editor to the new grammar looks like this commit.

A tree-sitter grammar for git commit messages.

Example

In the Helix editor: