summaryrefslogtreecommitdiff
path: root/runtime/queries/eex/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/eex/injections.scm')
-rw-r--r--runtime/queries/eex/injections.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/eex/injections.scm b/runtime/queries/eex/injections.scm
new file mode 100644
index 00000000..4686bf4d
--- /dev/null
+++ b/runtime/queries/eex/injections.scm
@@ -0,0 +1,9 @@
+; https://github.com/connorlay/tree-sitter-eex/blob/f742f2fe327463335e8671a87c0b9b396905d1d1/queries/injections.scm
+
+((directive (expression) @injection.content)
+ (#set! injection.language "elixir"))
+
+((partial_expression) @injection.content
+ (#set! injection.language "elixir")
+ (#set! injection.include-children)
+ (#set! injection.combined))