Note
This extension is regularly published (https://zed.dev/extensions?q=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
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.
- Create a new commit which updates the
version
field inextensions.toml
and 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
version
field inextensions.toml
under[haml]
- Run
git submodule update --remote --merge extensions/haml
- Make sure the ref returned by
git submodule status extensions/haml
is the correct tag - Commit the above and open a PR
- Update the