robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonbuild(deps): bump tree-sitter-diff to v0.2.01c9002a70e

master
915 B83 linesraw
1(comment) @comment @spell
2
3[
4  (addition)
5  (new_file)
6] @diff.plus
7
8[
9  (deletion)
10  (old_file)
11] @diff.minus
12
13(change) @diff.delta
14
15(commit) @constant
16
17(location) @attribute
18
19(command
20  "diff" @function
21  (argument) @variable.parameter)
22
23(filename) @string.special.path
24
25(special) @string.special
26
27"\\" @punctuation.special
28
29(mode) @number
30
31([
32  ".."
33  "+"
34  "++"
35  "+++"
36  "++++"
37  ">"
38  "-"
39  "--"
40  "---"
41  "----"
42  "<"
43  "!"
44] @punctuation.special
45  (#set! priority 95))
46
47[
48  (binary_change)
49  (similarity)
50  (dissimilarity)
51  (file_change)
52] @label
53
54(index
55  "index" @keyword)
56
57(similarity
58  (score) @number
59  "%" @number)
60
61(dissimilarity
62  (score) @number
63  "%" @number)
64
65(binary_patch
66  [
67    "GIT"
68    "binary"
69    "patch"
70  ] @label)
71
72(binary_hunk
73  [
74    "literal"
75    "delta"
76  ] @keyword
77  (size) @number)
78
79forward: (binary_hunk
80  (payload) @diff.plus)
81
82reverse: (binary_hunk
83  (payload) @diff.minus)