aboutsummaryrefslogtreecommitdiff
path: root/helix-22.03-x86_64-windows/runtime/queries/iex
diff options
context:
space:
mode:
Diffstat (limited to 'helix-22.03-x86_64-windows/runtime/queries/iex')
-rw-r--r--helix-22.03-x86_64-windows/runtime/queries/iex/highlights.scm1
-rw-r--r--helix-22.03-x86_64-windows/runtime/queries/iex/injections.scm6
2 files changed, 7 insertions, 0 deletions
diff --git a/helix-22.03-x86_64-windows/runtime/queries/iex/highlights.scm b/helix-22.03-x86_64-windows/runtime/queries/iex/highlights.scm
new file mode 100644
index 0000000..2847fbf
--- /dev/null
+++ b/helix-22.03-x86_64-windows/runtime/queries/iex/highlights.scm
@@ -0,0 +1 @@
+(prompt) @comment
diff --git a/helix-22.03-x86_64-windows/runtime/queries/iex/injections.scm b/helix-22.03-x86_64-windows/runtime/queries/iex/injections.scm
new file mode 100644
index 0000000..48863d9
--- /dev/null
+++ b/helix-22.03-x86_64-windows/runtime/queries/iex/injections.scm
@@ -0,0 +1,6 @@
+((evaluation_block (prompt_line (expression) @injection.content))
+ (#set! injection.language "elixir")
+ (#set! injection.combined))
+
+((result) @injection.content
+ (#set! injection.language "elixir"))