on master help sign in
Update tree-sitter-heex

tree-sitter-heex split out the ending_expression_value from the partial_expression value which can help with indentation.

commitcbc72e84d7a4c2a1ed5ec81bced3d280c69b4649 authorMichael Davis <mcarsondavis@gmail.com> dateTue 22 Nov 2022, 21:28 (4 years ago) parent5a1bed2
2 files changed+6−2
languages.toml+1−1 runtime/queries/heex/injections.scm+5−1
languages.toml+1−1
@@ -1360,7 +1360,7 @@ config = { elixirLS.dialyzerEnabled = false }
13601360
13611361[[grammar]]
13621362name = "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" }
13641364
13651365[[language]]
13661366name = "sql"
runtime/queries/heex/injections.scm+5−1
@@ -6,7 +6,11 @@
66; <%= if true do %>
77; <p>hello, tree-sitter!</p>
88; <% end %>
9−((directive (partial_expression_value) @injection.content)
9+((directive
10+ [
11+ (partial_expression_value)
12+ (ending_expression_value)
13+ ] @injection.content)
1014 (#set! injection.language "elixir")
1115 (#set! injection.include-children)
1216 (#set! injection.combined))