aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/heex/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/heex/injections.scm')
-rw-r--r--runtime/queries/heex/injections.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/queries/heex/injections.scm b/runtime/queries/heex/injections.scm
index d97e4b3e..159b6f0e 100644
--- a/runtime/queries/heex/injections.scm
+++ b/runtime/queries/heex/injections.scm
@@ -6,7 +6,11 @@
; <%= if true do %>
; <p>hello, tree-sitter!</p>
; <% end %>
-((directive (partial_expression_value) @injection.content)
+((directive
+ [
+ (partial_expression_value)
+ (ending_expression_value)
+ ] @injection.content)
(#set! injection.language "elixir")
(#set! injection.include-children)
(#set! injection.combined))