2022-08-22 18:13:21 +02:00
|
|
|
(
|
|
|
|
(string_literal) @injection.content
|
|
|
|
(#set! injection.language "markdown"))
|
2021-07-04 14:24:33 +02:00
|
|
|
|
2022-08-22 18:13:21 +02:00
|
|
|
(
|
|
|
|
[
|
|
|
|
(line_comment)
|
|
|
|
(block_comment)
|
|
|
|
] @injection.content
|
|
|
|
(#set! injection.language "comment"))
|
2022-08-22 14:22:48 +02:00
|
|
|
|
2022-08-22 18:13:21 +02:00
|
|
|
(
|
|
|
|
(prefixed_string_literal
|
|
|
|
prefix: (identifier) @function.macro) @injection.content
|
|
|
|
(#eq? @function.macro "re")
|
|
|
|
(#set! injection.language "regex"))
|