mirror of https://github.com/Wilfred/difftastic/
Support `proto` diffs using `tree-sitter-proto`
parent
8402832c1c
commit
7984b49c37
@ -0,0 +1,48 @@
|
||||
[
|
||||
"syntax"
|
||||
"edition"
|
||||
"package"
|
||||
"option"
|
||||
"import"
|
||||
"service"
|
||||
"rpc"
|
||||
"returns"
|
||||
"message"
|
||||
"enum"
|
||||
"oneof"
|
||||
"repeated"
|
||||
"reserved"
|
||||
"to"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
(key_type)
|
||||
(type)
|
||||
(message_name)
|
||||
(enum_name)
|
||||
(service_name)
|
||||
(rpc_name)
|
||||
]@type
|
||||
|
||||
(string) @string
|
||||
|
||||
[
|
||||
(int_lit)
|
||||
(float_lit)
|
||||
] @number
|
||||
|
||||
[
|
||||
(true)
|
||||
(false)
|
||||
] @constant.builtin
|
||||
|
||||
(comment) @comment
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
Loading…
Reference in New Issue