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