summaryrefslogtreecommitdiff
path: root/runtime/queries/elixir/injections.scm
blob: 8370a0d8d23cf367e7ae881e9857bc36722021e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
((comment) @injection.content
 (#set! injection.language "comment"))

((sigil
  (sigil_name) @_sigil_name
  (quoted_content) @injection.content)
 (#match? @_sigil_name "^(r|R)$")
 (#set! injection.language "regex")
 (#set! injection.combined))