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/edoc/injections.scm

21 lines
496 B
Scheme

((xhtml_tag) @injection.content
(#set! injection.combined)
(#set! injection.include-children)
(#set! injection.language "html"))
((block_quote
!language
(quote_content) @injection.content)
(#set! injection.language "erlang"))
(block_quote
language: (language_identifier) @injection.language
(quote_content) @injection.content)
((macro
(tag) @_tag
(argument) @injection.content)
(#eq? @_tag "@type")
(#set injection.language "erlang")
(#set injection.include-children))