Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/heex/injections.scm')
-rw-r--r--runtime/queries/heex/injections.scm28
1 files changed, 0 insertions, 28 deletions
diff --git a/runtime/queries/heex/injections.scm b/runtime/queries/heex/injections.scm
deleted file mode 100644
index 159b6f0e..00000000
--- a/runtime/queries/heex/injections.scm
+++ /dev/null
@@ -1,28 +0,0 @@
-; https://github.com/connorlay/tree-sitter-heex/blob/592e22292a367312c35e13de7fdb888f029981d6/queries/injections.scm
-; directives are standalone tags like '<%= @x %>'
-;
-; partial_expression_values are elixir code that is part of an expression that
-; spans multiple directive nodes, so they must be combined. For example:
-; <%= if true do %>
-; <p>hello, tree-sitter!</p>
-; <% end %>
-((directive
- [
- (partial_expression_value)
- (ending_expression_value)
- ] @injection.content)
- (#set! injection.language "elixir")
- (#set! injection.include-children)
- (#set! injection.combined))
-
-; Regular expression_values do not need to be combined
-((directive (expression_value) @injection.content)
- (#set! injection.language "elixir"))
-
-; expressions live within HTML tags, and do not need to be combined
-; <link href={ Routes.static_path(..) } />
-((expression (expression_value) @injection.content)
- (#set! injection.language "elixir"))
-
-((comment) @injection.content
- (#set! injection.language "comment")) \ No newline at end of file