aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/rust/injections.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/rust/injections.scm b/runtime/queries/rust/injections.scm
index b29a5ad7..ae9e587f 100644
--- a/runtime/queries/rust/injections.scm
+++ b/runtime/queries/rust/injections.scm
@@ -2,6 +2,12 @@
(#set! injection.language "comment"))
((macro_invocation
+ macro: (identifier) @_html (#eq? @_html "html")
+ (token_tree) @injection.content)
+ (#set! injection.language "html")
+ (#set! injection.include-children))
+
+((macro_invocation
(token_tree) @injection.content)
(#set! injection.language "rust")
(#set! injection.include-children))