1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-22 16:01:54 +04:00
helix-mirror/runtime/queries/protobuf/highlights.scm
Kirawi ee889aaa85
Updated tree-sitter query scopes ()
* updated theme scopes

variable.property -> variable.field
property -> variable.field

* updated theme scopes

* update book and themes

updated book and themes to reflect scope changes

* wip

* update more queries

* update dark_plus.toml
2021-11-03 12:00:52 +09:00

58 lines
670 B
Scheme

[
"syntax"
"package"
"option"
"import"
"service"
"rpc"
"returns"
"message"
"enum"
"oneof"
"repeated"
"reserved"
"to"
"stream"
"extend"
"optional"
] @keyword
[
(keyType)
(type)
] @type.builtin
[
(mapName)
(enumName)
(messageName)
(extendName)
(serviceName)
(rpcName)
] @type
[
(fieldName)
(optionName)
] @variable.other.member
(enumVariantName) @type.enum.variant
(fullIdent) @namespace
(intLit) @constant.numeric.integer
(floatLit) @constant.numeric.float
(boolLit) @constant.builtin.boolean
(strLit) @string
(constant) @constant
(comment) @comment
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket