aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/julia/injections.scm15
1 files changed, 14 insertions, 1 deletions
diff --git a/runtime/queries/julia/injections.scm b/runtime/queries/julia/injections.scm
index caed916f..5b2e7584 100644
--- a/runtime/queries/julia/injections.scm
+++ b/runtime/queries/julia/injections.scm
@@ -1,5 +1,18 @@
(
- (string_literal) @injection.content
+ (source_file
+ (
+ (string_literal) @injection.content
+ [
+ (module_definition)
+ (function_definition)
+ (macro_definition)
+ (primitive_definition)
+ (abstract_definition)
+ (struct_definition)
+ (assignment_expression)
+ (const_statement)
+ ]
+ ))
(#set! injection.language "markdown"))
(