Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/protobuf/highlights.scm')
| -rw-r--r-- | runtime/queries/protobuf/highlights.scm | 42 |
1 files changed, 18 insertions, 24 deletions
diff --git a/runtime/queries/protobuf/highlights.scm b/runtime/queries/protobuf/highlights.scm index 15dd7bb3..c35c430e 100644 --- a/runtime/queries/protobuf/highlights.scm +++ b/runtime/queries/protobuf/highlights.scm @@ -1,6 +1,5 @@ [ "syntax" - "edition" "package" "option" "import" @@ -8,45 +7,44 @@ "rpc" "returns" "message" - "map" "enum" "oneof" "repeated" - "optional" - "required" "reserved" "to" "stream" "extend" + "optional" ] @keyword [ - (key_type) + (keyType) (type) - (message_or_enum_type) ] @type.builtin [ - (enum_name) - (message_name) - (service_name) - (rpc_name) + (mapName) + (enumName) + (messageName) + (extendName) + (serviceName) + (rpcName) ] @type [ - (field_name) - (option_name) + (fieldName) + (optionName) ] @variable.other.member -(enum_variant_name) @type.enum.variant +(enumVariantName) @type.enum.variant -(full_ident) @namespace +(fullIdent) @namespace -(int_lit) @constant.numeric.integer -(float_lit) @constant.numeric.float -(bool) @constant.builtin.boolean -(string) @string +(intLit) @constant.numeric.integer +(floatLit) @constant.numeric.float +(boolLit) @constant.builtin.boolean +(strLit) @string -(block_lit) @constant +(constant) @constant (comment) @comment @@ -57,8 +55,4 @@ "]" "{" "}" -] @punctuation.bracket - -"=" @operator - -";" @punctuation.delimiter +] @punctuation.bracket
\ No newline at end of file |