1(comment) @comment
2
3[
4 (addition)
5 (new_file)
6] @string @diff.plus
7
8[
9 (deletion)
10 (old_file)
11] @keyword @diff.minus
12
13(commit) @constant
14
15(location) @attribute
16
17(command
18 "diff" @function
19 (argument) @variable.parameter)
20
21(mode) @number
22
23[
24 ".."
25 "+"
26 "++"
27 "+++"
28 "++++"
29 "-"
30 "--"
31 "---"
32 "----"
33] @punctuation.special
34
35[
36 (binary_change)
37 (similarity)
38 (file_change)
39] @label
40
41(index
42 "index" @keyword)
43
44(similarity
45 (score) @number
46 "%" @number)