686a1e2f31
Trailers are now supported, for example 'Co-authored-by' or 'Signed-off-by'. Commits are also now recognized in message bodies.
18 lines
456 B
Scheme
18 lines
456 B
Scheme
(subject) @markup.heading
|
|
(path) @string.special.path
|
|
(branch) @string.special.symbol
|
|
(commit) @constant
|
|
(item) @markup.link.url
|
|
(header) @tag
|
|
|
|
(change kind: "new file" @diff.plus)
|
|
(change kind: "deleted" @diff.minus)
|
|
(change kind: "modified" @diff.delta)
|
|
(change kind: "renamed" @diff.delta.moved)
|
|
|
|
(trailer
|
|
key: (trailer_key) @variable.other.member
|
|
value: (trailer_value) @string)
|
|
|
|
[":" "=" "->" (scissors)] @punctuation.delimiter
|
|
(comment) @comment
|