helix-mods/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 16:18:25 +02: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))