2022-08-22 20:13:21 +04:00
|
|
|
(
|
2022-08-24 10:56:42 +04:00
|
|
|
(source_file
|
2022-08-24 19:25:36 +04:00
|
|
|
(string_literal) @injection.content
|
|
|
|
.
|
|
|
|
[
|
|
|
|
(module_definition)
|
|
|
|
(function_definition)
|
|
|
|
(macro_definition)
|
|
|
|
(primitive_definition)
|
|
|
|
(abstract_definition)
|
|
|
|
(struct_definition)
|
|
|
|
(assignment_expression)
|
|
|
|
(const_statement)
|
|
|
|
])
|
2022-08-22 20:13:21 +04:00
|
|
|
(#set! injection.language "markdown"))
|
2021-07-04 16:24:33 +04:00
|
|
|
|
2022-08-22 20:13:21 +04:00
|
|
|
(
|
|
|
|
[
|
|
|
|
(line_comment)
|
|
|
|
(block_comment)
|
|
|
|
] @injection.content
|
|
|
|
(#set! injection.language "comment"))
|
2022-08-22 16:22:48 +04:00
|
|
|
|
2022-08-22 20:13:21 +04:00
|
|
|
(
|
|
|
|
(prefixed_string_literal
|
|
|
|
prefix: (identifier) @function.macro) @injection.content
|
|
|
|
(#eq? @function.macro "re")
|
|
|
|
(#set! injection.language "regex"))
|