Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/julia/injections.scm')
| -rw-r--r-- | runtime/queries/julia/injections.scm | 45 |
1 files changed, 4 insertions, 41 deletions
diff --git a/runtime/queries/julia/injections.scm b/runtime/queries/julia/injections.scm index 3b80163f..be2412c0 100644 --- a/runtime/queries/julia/injections.scm +++ b/runtime/queries/julia/injections.scm @@ -1,42 +1,5 @@ -( - (source_file - (string_literal) @injection.content - . - [ - (module_definition) - (function_definition) - (macro_definition) - (primitive_definition) - (abstract_definition) - (struct_definition) - (short_function_definition) - (assignment) - (const_statement) - ]) - (#set! injection.language "markdown")) +; TODO: re-add when markdown is added. +; ((triple_string) @markdown +; (#offset! @markdown 0 3 0 -3)) -( - [ - (line_comment) - (block_comment) - ] @injection.content - (#set! injection.language "comment")) - -( - [ - (command_literal) - (prefixed_command_literal) - ] @injection.content - (#set! injection.language "sh")) - -( - (prefixed_string_literal - prefix: (identifier) @function.macro) @injection.content - (#eq? @function.macro "r") - (#set! injection.language "regex")) - -( - (prefixed_string_literal - prefix: (identifier) @function.macro) @injection.content - (#eq? @function.macro "md") - (#set! injection.language "markdown")) +(comment) @comment |