aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Horn2022-08-24 15:25:36 +0000
committerMichael Davis2022-08-24 16:55:47 +0000
commitfacde9f18c03dd8061199215af5a010903daaedb (patch)
tree425c24f888b1dc8b368ec9652f76947d454d5b7f
parent26b2f0a1b5a1bb6cd83f16f6019d903312999bb9 (diff)
Julia queries: fix non-consecutive docstring highlight
-rw-r--r--runtime/queries/julia/injections.scm25
1 files changed, 12 insertions, 13 deletions
diff --git a/runtime/queries/julia/injections.scm b/runtime/queries/julia/injections.scm
index 5b2e7584..ce4011f2 100644
--- a/runtime/queries/julia/injections.scm
+++ b/runtime/queries/julia/injections.scm
@@ -1,18 +1,17 @@
(
(source_file
- (
- (string_literal) @injection.content
- [
- (module_definition)
- (function_definition)
- (macro_definition)
- (primitive_definition)
- (abstract_definition)
- (struct_definition)
- (assignment_expression)
- (const_statement)
- ]
- ))
+ (string_literal) @injection.content
+ .
+ [
+ (module_definition)
+ (function_definition)
+ (macro_definition)
+ (primitive_definition)
+ (abstract_definition)
+ (struct_definition)
+ (assignment_expression)
+ (const_statement)
+ ])
(#set! injection.language "markdown"))
(