summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/edoc/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/edoc/highlights.scm b/runtime/queries/edoc/highlights.scm
index 3a309960..4267cb9e 100644
--- a/runtime/queries/edoc/highlights.scm
+++ b/runtime/queries/edoc/highlights.scm
@@ -39,9 +39,9 @@
; could be @constant.numeric.integer but this looks similar to a capture
(arity) @operator
-[":" "/"] @operator
-["(" ")"] @punctuation.delimiter
-["{" "}"] @function.macro
+(expression [":" "/"] @operator)
+(expression ["(" ")"] @punctuation.delimiter)
+(macro ["{" "}"] @function.macro)
[
(quote_marker)