Add HEEx language injection for `~H` sigils (#34)
* Add HEEx language injection for `~H` sigils * Update queries/injections.scm Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
1dabc1c790
commit
ec1c4cac1b
|
@ -0,0 +1,7 @@
|
|||
; Phoenix HTML template
|
||||
((sigil
|
||||
(sigil_name) @_sigil_name
|
||||
(quoted_content) @injection.content)
|
||||
(#eq @_sigil_name "H")
|
||||
(#set! injection.language "heex")
|
||||
(#set! injection.combined))
|
Loading…
Reference in New Issue