gbprod / tree-sitter-gitcommit

A tree-sitter grammar for gitcommit messages
Do What The F*ck You Want To Public License
62 stars 8 forks source link

Support common keywords #44

Open mrsdizzie opened 1 year ago

mrsdizzie commented 1 year ago

For Github / Gitlab / Gitea and others they all support common keywords for referencing issues in a commit message:

https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

Such as Closes #1

It would be nice to recognize those patterns here as well