2021-12-19 15:56:56 +01:00
|
|
|
((comment) @injection.content
|
|
|
|
(#set! injection.language "comment"))
|
2022-01-06 16:00:00 +01:00
|
|
|
|
|
|
|
((sigil
|
|
|
|
(sigil_name) @_sigil_name
|
|
|
|
(quoted_content) @injection.content)
|
|
|
|
(#match? @_sigil_name "^(r|R)$")
|
|
|
|
(#set! injection.language "regex")
|
|
|
|
(#set! injection.combined))
|
2022-04-13 03:57:07 +02:00
|
|
|
|
|
|
|
((sigil
|
|
|
|
(sigil_name) @_sigil_name
|
|
|
|
(quoted_content) @injection.content)
|
2022-05-31 04:32:14 +02:00
|
|
|
(#eq? @_sigil_name "H")
|
2022-04-13 03:57:07 +02:00
|
|
|
(#set! injection.language "heex")
|
|
|
|
(#set! injection.combined))
|
2022-05-31 04:32:14 +02:00
|
|
|
|
|
|
|
(unary_operator
|
|
|
|
operator: "@"
|
|
|
|
operand: (call
|
|
|
|
target: ((identifier) @_identifier (#match? @_identifier "^(module|type|short)?doc$"))
|
|
|
|
(arguments [
|
|
|
|
(string (quoted_content) @injection.content)
|
|
|
|
(sigil (quoted_content) @injection.content)
|
|
|
|
])) (#set! injection.language "markdown"))
|