mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04: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