highlights.scm

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