mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 01:21:48 +00:00
build(deps): bump tree-sitter-diff to v0.2.0
This commit is contained in:
committed by
Christian Clason
parent
99056b84b8
commit
1c9002a70e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user