mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 03:25:59 +00:00
bdf26fe38a
Fixes #16199 ## Description Recently added template string injections do not completely work for because any time there is an interpolation (`${// some js content}`) within an element, its closing tag is not highlighted properly: ![image](https://github.com/user-attachments/assets/e660894b-6e4b-4300-b8d9-2757fa235679) This PR fixes the issue: ![image](https://github.com/user-attachments/assets/629a30c3-9b3a-4338-aee9-622dbb19581c) Release Notes: - Fixed incomplete syntax highlighting for HTML injections inside JavaScript template tags. ## Note I'm a beginner with treesitter so I only modified the part for HTML usecase. Should the same solution be applied to other injections (`css`, `js`, etc.)? |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |