mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-08-17 03:50:21 +03:00
Add rust html injection query (#8603)
This commit is contained in:
parent
f6021dd0cd
commit
c24a67c0e4
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user