mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
686a1e2f31
Trailers are now supported, for example 'Co-authored-by' or 'Signed-off-by'. Commits are also now recognized in message bodies.
19 lines
456 B
Scheme
19 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
|