ZIm/crates/languages/src/rust/injections.scm
uncenter d58f006498
Use standard injection.language and injection.content captures (#22268)
Closes #9656. Continuation of #9654, but with the addition of backwards
compatibility for the existing captures.

Release Notes:

- Improved Tree-sitter support with added compatibility for standard
injections captures

---------

Co-authored-by: Finn Evers <finn.evers@outlook.de>
2025-01-07 18:17:49 +00:00

7 lines
173 B
Scheme

(macro_invocation
(token_tree) @injection.content
(#set! injection.language "rust"))
(macro_rule
(token_tree) @injection.content
(#set! injection.language "rust"))