Fix bugs in handling combined injections exposed by HEEx (#2652)

Fixes
https://linear.app/zed-industries/issue/Z-2481/heex-this-snippet-triggers-a-hard-crash

Release Notes:

- Fixed a crash that would sometimes occur when editing a HEEx file
([#1703](https://github.com/zed-industries/community/issues/1703)).
This commit is contained in:
Max Brunsfeld
2023-06-27 15:17:29 -07:00
committed by GitHub
3 changed files with 200 additions and 80 deletions
@@ -9,7 +9,5 @@
(#set! combined)
)
; expressions live within HTML tags, and do not need to be combined
; <link href={ Routes.static_path(..) } />
((expression (expression_value) @content)
(#set! language "elixir"))