Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/koto/highlights.scm')
-rw-r--r--runtime/queries/koto/highlights.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/runtime/queries/koto/highlights.scm b/runtime/queries/koto/highlights.scm
index 61f97123..1e9104aa 100644
--- a/runtime/queries/koto/highlights.scm
+++ b/runtime/queries/koto/highlights.scm
@@ -70,9 +70,6 @@
"as"
] @keyword.control.import
-(string (interpolation ("{") @punctuation.special))
-(string (interpolation ("}") @punctuation.special))
-
[
"("
")"
@@ -83,12 +80,16 @@
"|"
] @punctuation.bracket
+(string (interpolation ["{" "}"] @punctuation.special))
+
[
";"
":"
","
] @punctuation.delimiter
+(identifier) @variable
+
(import_module
(identifier) @module)
@@ -148,5 +149,3 @@
(function
output_type: (identifier) @type)
-
-(identifier) @variable