Closed ymolodtsov closed 1 day ago
Yep, the HTML mode is not going to have a good time trying to format your templatized HTML. As a workaround you can disable format_on_save
in your settings.
Which templating engine are you're using?
There are some existing issues tracking support for various templating languages:
Check for existing issues
Describe the bug / provide steps to reproduce it
When saving an .html document with some templates, Zed adds spaces in front of links, effectively killing them. Seems to be connected with Zed adding breaks to some tags and structures.
Before Cmd-S
After Cmd-S
The expected behavior would be Zed not touching anything unless it was specifically requested.
Environment
Zed: v0.89.2 (stable) OS: macOS 13.0.0 Memory: 16 GiB Architecture: MacOS
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.No response