aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/proto
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/proto')
-rw-r--r--runtime/queries/proto/highlights.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/queries/proto/highlights.scm b/runtime/queries/proto/highlights.scm
index 51f44a754..894686dd4 100644
--- a/runtime/queries/proto/highlights.scm
+++ b/runtime/queries/proto/highlights.scm
@@ -1,3 +1,19 @@
+(full_ident
+ (identifier) @variable)
+
+(full_ident
+ (identifier)
+ (identifier) @variable.member)
+
+(field
+ (identifier) @property)
+
+(field_option
+ (identifier) @property)
+
+(block_lit
+ (identifier) @property)
+
[
"extend"
"extensions"
@@ -77,6 +93,8 @@
[
";"
","
+ "."
+ ":"
] @punctuation.delimiter
"=" @operator