Statamic Antlers
Syntax highlighting and IntelliSense for Statamic Antlers in Zed
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 Statamic Antlers. The extension's id is statamic-antlers.
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.
Downloads on Zed Extension Store
Statamic Antlers for Zed
This is a Zed extension that enables IntelliSense and syntax highlighting for Statamic’s Antlers templating language.
Get Emmet to work
Edit your ~/Library/Application\ Support/Zed/extensions/installed/emmet/extension.toml accordingly:
[language_servers.emmet-language-server]
language = "HTML"
languages = ["HTML", "PHP", "ERB", "JavaScript", "TSX", "CSS", "Statamic Antlers"]
[language_servers.emmet-language-server.language_ids]
TSX = "typescriptreact"
HTML = "html"
PHP = "php"
JavaScript = "javascriptreact"
CSS = "css"
ERB = "eruby"
"Statamic Antlers" = "antlers"
Credits
This extension uses:
- https://github.com/Robertsson/tree-sitter-antlers for syntax highlighting
- https://github.com/Stillat/vscode-antlers-language-server for the language-server
Contributions are welcome!