You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/queries/julia/injections.scm

17 lines
350 B
Scheme

(
(string_literal) @injection.content
(#set! injection.language "markdown"))
(
[
(line_comment)
(block_comment)
] @injection.content
(#set! injection.language "comment"))
(
(prefixed_string_literal
prefix: (identifier) @function.macro) @injection.content
(#eq? @function.macro "re")
(#set! injection.language "regex"))