aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rust/injections.scm
blob: d8382e499b5e3cb4067a1478305feb9cca28f308 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
([(line_comment) (block_comment)] @injection.content
 (#set! injection.language "comment"))

((macro_invocation
  (token_tree) @injection.content)
 (#set! injection.language "rust")
 (#set! injection.include-children))

((macro_rule
  (token_tree) @injection.content)
 (#set! injection.language "rust")
 (#set! injection.include-children))