aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/edoc/injections.scm
blob: 28c44b9f457e8a5ac804889def039175a0b71385 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
((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))