helix-mirror/runtime/queries/rust/injections.scm

13 lines
340 B
Scheme
Raw Normal View History

([(line_comment) (block_comment)] @injection.content
(#set! injection.language "comment"))
2021-04-08 18:18:25 +04:00
((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))