forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
616 B
Scheme
60 lines
616 B
Scheme
3 years ago
|
[
|
||
|
"syntax"
|
||
|
"package"
|
||
|
"option"
|
||
|
"import"
|
||
|
"service"
|
||
|
"rpc"
|
||
|
"returns"
|
||
|
"message"
|
||
|
"enum"
|
||
|
"oneof"
|
||
|
"repeated"
|
||
|
"reserved"
|
||
|
"to"
|
||
|
"stream"
|
||
|
"extend"
|
||
|
] @keyword
|
||
|
|
||
|
[
|
||
|
(keyType)
|
||
|
(type)
|
||
|
] @type.builtin
|
||
|
|
||
|
[
|
||
|
(mapName)
|
||
|
(oneofName)
|
||
|
(enumName)
|
||
|
(messageName)
|
||
|
(extendName)
|
||
|
(serviceName)
|
||
|
(rpcName)
|
||
|
] @type
|
||
|
|
||
|
[
|
||
|
(fieldName)
|
||
|
(optionName)
|
||
|
] @property
|
||
|
(enumVariantName) @type.enum.variant
|
||
|
|
||
|
(fullIdent) @namespace
|
||
|
|
||
|
[
|
||
|
(intLit)
|
||
|
(floatLit)
|
||
|
] @number
|
||
|
(boolLit) @constant.builtin
|
||
|
(strLit) @string
|
||
|
|
||
|
(constant) @constant
|
||
|
|
||
|
(comment) @comment
|
||
|
|
||
|
[
|
||
|
"("
|
||
|
")"
|
||
|
"["
|
||
|
"]"
|
||
|
"{"
|
||
|
"}"
|
||
|
] @punctuation.bracket
|