Haml
Haml template support
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Haml. The extension's id is haml.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Haml syntax highlighting for Zed
[!NOTE] This extension is regularly published (https://zed.dev/extensions?query=haml) and can be installed directly from Zed.
You will likely also want to install the Ruby extension so that Ruby snippets within your HAML templates are correctly highlighted.
Based on https://github.com/vitallium/tree-sitter-haml
Developing
Clone this repository and install it as a dev extension in Zed.
The complete docs on extension development are here: https://zed.dev/docs/extensions/developing-extensions.
Releasing
- Create a new commit which updates the
versionfield inextensions.tomland commit it tomain - Tag that commit with the new version number (e.g.
v0.0.1)git tag v0.0.1 git push origin v0.0.1 - Create a new GitHub release (https://github.com/davidcornu/zed-haml/releases/new) for that tag. The automatically-generated release notes should suffice.
- In https://github.com/zed-industries/extensions/
- Update the
versionfield inextensions.tomlunder[haml] - Run
git submodule update --remote --merge extensions/haml - Make sure the ref returned by
git submodule status extensions/hamlis the correct tag - Commit the above and open a PR
- Update the