I am using Handlebars for HTML templating. My hbs files also use some script sections which are currently not being highlighted. In some of my files with large script sections, the highlighting continues to break rest of the files.
The highlighting works just fine in VSCode though.
Steps to Reproduce
- Create a
*.hbs file.
- Fill some pure HTML markup content. Highlighting should still work here.
- Add a
<script> section somewhere in the hbs file and add some valid JavaScript code inside. Highlighting won't work for this script section at least.
Opening the same file in VSCode shows proper highlighting. Or alternatively, creating a duplicate file with .html extension should restore the highlighting in Zed itself.
I am using Handlebars for HTML templating. My
hbsfiles also use somescriptsections which are currently not being highlighted. In some of my files with large script sections, the highlighting continues to break rest of the files.The highlighting works just fine in VSCode though.
Steps to Reproduce
*.hbsfile.<script>section somewhere in thehbsfile and add some valid JavaScript code inside. Highlighting won't work for thisscriptsection at least.Opening the same file in VSCode shows proper highlighting. Or alternatively, creating a duplicate file with
.htmlextension should restore the highlighting in Zed itself.