aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gitcommit/highlights.scm
blob: d475021c2a3c8aa2761877315f450669a944aec4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(comment) @comment
(generated_comment) @comment
(title) @markup.heading
; (text) @none
(branch) @markup.link
(change) @keyword
(filepath) @string.special.url
(arrow) @punctuation.delimiter

(subject) @markup.heading @spell
(subject (overflow) @none @spell)
(subject (subject_prefix) @function @nospell)
(prefix (type) @keyword @nospell)
(prefix (scope) @variable.parameter @nospell)
(prefix [
    "("
    ")"
    ":"
] @punctuation.delimiter)
(prefix [
    "!"
] @punctuation.special)

(message) @spell

(trailer (token) @label)
; (trailer (value) @none)

(breaking_change (token) @comment.warning)
(breaking_change (value) @none @spell)

(scissor) @comment