Update tree-sitter-git-commit (#6692)

Trailers are now supported, for example 'Co-authored-by' or
'Signed-off-by'. Commits are also now recognized in message bodies.
pull/16/head
Michael Davis 2 years ago committed by GitHub
parent 5106a124ed
commit 686a1e2f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1194,7 +1194,7 @@ text-width = 72
[[grammar]]
name = "git-commit"
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "bd0ca5a6065f2cada3ac6a82a66db3ceff55fa6b" }
source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev = "db88cffa3952dd2328b741af5d0fc69bdb76704f" }
[[language]]
name = "diff"

@ -10,5 +10,9 @@
(change kind: "modified" @diff.delta)
(change kind: "renamed" @diff.delta.moved)
[":" "->" (scissors)] @punctuation.delimiter
(trailer
key: (trailer_key) @variable.other.member
value: (trailer_value) @string)
[":" "=" "->" (scissors)] @punctuation.delimiter
(comment) @comment

Loading…
Cancel
Save