mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
Add rust html injection query (#8603)
This commit is contained in:
parent
f6021dd0cd
commit
c24a67c0e4
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue