diff options
| -rw-r--r-- | queries/rust/injections.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/queries/rust/injections.scm b/queries/rust/injections.scm index b1e90e09a..bd88b7e37 100644 --- a/queries/rust/injections.scm +++ b/queries/rust/injections.scm @@ -10,3 +10,12 @@ (line_comment) (block_comment) ] @comment + +( + (macro_invocation + macro: ((identifier) @_html_def) + (token_tree) @html) + + (#eq? @_html_def "html") +) + |
