on master help sign in
Update tree-sitter-heex
cbc72e8Michael Davis
languages.toml+1−1
@@ -1360,7 +1360,7 @@ config = { elixirLS.dialyzerEnabled = false }
1360
1360
1361[[grammar]]
1361[[grammar]]
1362name = "heex"
1362name = "heex"
1363−source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "881f1c805f51485a26ecd7865d15c9ef8d606a78" }
1363+source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
1364
1364
1365[[language]]
1365[[language]]
1366name = "sql"
1366name = "sql"
runtime/queries/heex/injections.scm+5−1
@@ -6,7 +6,11 @@
6; <%= if true do %>
6; <%= if true do %>
7; <p>hello, tree-sitter!</p>
7; <p>hello, tree-sitter!</p>
8; <% end %>
8; <% end %>
9+((directive
10+ [
9−((directive (partial_expression_value) @injection.content)
11+ (partial_expression_value)
12+ (ending_expression_value)
13+ ] @injection.content)
10 (#set! injection.language "elixir")
14 (#set! injection.language "elixir")
11 (#set! injection.include-children)
15 (#set! injection.include-children)
12 (#set! injection.combined))
16 (#set! injection.combined))