1[
2 "syntax"
3 "package"
4 "option"
5 "optional"
6 "import"
7 "service"
8 "rpc"
9 "returns"
10 "message"
11 "enum"
12 "oneof"
13 "repeated"
14 "reserved"
15 "to"
16] @keyword
17
18[
19 (key_type)
20 (type)
21 (message_name)
22 (enum_name)
23 (service_name)
24 (rpc_name)
25 (message_or_enum_type)
26] @type
27
28(enum_field
29 (identifier) @constant)
30
31[
32 (string)
33 "\"proto3\""
34] @string
35
36(int_lit) @number
37
38[
39 (true)
40 (false)
41] @boolean
42
43(comment) @comment
44
45[
46 "("
47 ")"
48 "["
49 "]"
50 "{"
51 "}"
52 "<"
53 ">"
54] @punctuation.bracket
55
56[
57 ";"
58 ","
59] @punctuation.delimiter
60
61"=" @operator