Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/capnp/highlights.scm')
-rw-r--r--runtime/queries/capnp/highlights.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/queries/capnp/highlights.scm b/runtime/queries/capnp/highlights.scm
index 27ddf8e2..34b023be 100644
--- a/runtime/queries/capnp/highlights.scm
+++ b/runtime/queries/capnp/highlights.scm
@@ -1,7 +1,9 @@
; Preproc
-(unique_id) @keyword.directive
-(top_level_annotation_body) @keyword.directive
+[
+ (unique_id)
+ (top_level_annotation_body)
+] @keyword.directive
; Includes
@@ -9,6 +11,7 @@
"import"
"$import"
"embed"
+ "using"
] @keyword.control.import
(import_path) @string
@@ -84,10 +87,10 @@
"union"
] @keyword.storage.type
+"extends" @keyword
+
[
- "extends"
"namespace"
- "using"
(annotation_target)
] @special