feat!: change upstream proto parser and improve highlights

This commit is contained in:
Trey Wood 2023-08-02 11:54:53 -06:00 committed by GitHub
parent 4c4d586a05
commit 8968a3a541
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 12 deletions

View file

@ -1,18 +1,30 @@
[
"syntax"
"option"
"service"
"rpc"
"returns"
"message"
"enum"
"extend"
"extensions"
"message"
"oneof"
"optional"
"repeated"
"option"
"reserved"
"service"
"syntax"
"to"
] @keyword
[
"rpc"
] @keyword.function
[
"returns"
] @keyword.return
[
"optional"
"repeated"
"required"
] @type.qualifier
[
"package"
"import"
@ -34,6 +46,7 @@
[
(string)
"\"proto3\""
"\"proto2\""
] @string
(int_lit) @number