feat(diff): more comprehensive highlights

This commit is contained in:
Riley Bruins 2024-05-12 11:21:42 -07:00 committed by Christian Clason
parent cd626dc48e
commit 3aa2e2f374
2 changed files with 33 additions and 2 deletions

View file

@ -12,4 +12,35 @@
(location) @attribute
(command) @function
(command
"diff" @function
(argument) @variable.parameter)
(filename) @string.special.path
(mode) @number
[
".."
"+"
"++"
"+++"
"++++"
"-"
"--"
"---"
"----"
] @punctuation.special
[
(binary_change)
(similarity)
(file_change)
] @label
(index
"index" @keyword)
(similarity
(score) @number
"%" @number)