build(deps): bump tree-sitter-diff to v0.2.0

This commit is contained in:
Christian Clason
2026-08-14 18:20:21 +02:00
committed by Christian Clason
parent 99056b84b8
commit 1c9002a70e
3 changed files with 38 additions and 4 deletions

View File

@@ -10,6 +10,8 @@
(old_file)
] @diff.minus
(change) @diff.delta
(commit) @constant
(location) @attribute
@@ -20,6 +22,10 @@
(filename) @string.special.path
(special) @string.special
"\\" @punctuation.special
(mode) @number
([
@@ -28,16 +34,20 @@
"++"
"+++"
"++++"
">"
"-"
"--"
"---"
"----"
"<"
"!"
] @punctuation.special
(#set! priority 95))
[
(binary_change)
(similarity)
(dissimilarity)
(file_change)
] @label
@@ -47,3 +57,27 @@
(similarity
(score) @number
"%" @number)
(dissimilarity
(score) @number
"%" @number)
(binary_patch
[
"GIT"
"binary"
"patch"
] @label)
(binary_hunk
[
"literal"
"delta"
] @keyword
(size) @number)
forward: (binary_hunk
(payload) @diff.plus)
reverse: (binary_hunk
(payload) @diff.minus)