Add rust html injection query (#8603)

This commit is contained in:
Ryan Mehri 2023-10-25 19:39:22 -07:00 committed by GitHub
parent f6021dd0cd
commit c24a67c0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,12 @@
([(line_comment) (block_comment)] @injection.content
(#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")