aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/elixir/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/elixir/injections.scm')
-rw-r--r--runtime/queries/elixir/injections.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/queries/elixir/injections.scm b/runtime/queries/elixir/injections.scm
index 8370a0d8..c8882534 100644
--- a/runtime/queries/elixir/injections.scm
+++ b/runtime/queries/elixir/injections.scm
@@ -7,3 +7,10 @@
(#match? @_sigil_name "^(r|R)$")
(#set! injection.language "regex")
(#set! injection.combined))
+
+((sigil
+ (sigil_name) @_sigil_name
+ (quoted_content) @injection.content)
+ (#match? @_sigil_name "^(h|H)$")
+ (#set! injection.language "heex")
+ (#set! injection.combined))