Update tree-sitter-heex

tree-sitter-heex split out the ending_expression_value from the
partial_expression value which can help with indentation.
pull/4887/head
Michael Davis 2 years ago committed by Blaž Hrastnik
parent 5a1bed2b70
commit cbc72e84d7

@ -1360,7 +1360,7 @@ config = { elixirLS.dialyzerEnabled = false }
[[grammar]] [[grammar]]
name = "heex" name = "heex"
source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "881f1c805f51485a26ecd7865d15c9ef8d606a78" } source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
[[language]] [[language]]
name = "sql" name = "sql"

@ -6,7 +6,11 @@
; <%= if true do %> ; <%= if true do %>
; <p>hello, tree-sitter!</p> ; <p>hello, tree-sitter!</p>
; <% end %> ; <% end %>
((directive (partial_expression_value) @injection.content) ((directive
[
(partial_expression_value)
(ending_expression_value)
] @injection.content)
(#set! injection.language "elixir") (#set! injection.language "elixir")
(#set! injection.include-children) (#set! injection.include-children)
(#set! injection.combined)) (#set! injection.combined))

Loading…
Cancel
Save