CFEngine
Syntax highlighting support for CFEngine policy language
Languages
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 CFEngine. The extension's id is cfengine.
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.
CFEngine extension for Zed editor
This extension adds syntax highlighting for CFEngine policy language files (.cf) to the Zed editor.
In the future it could be updated to add indentation / code formatting, linting, and autocomplete suggestions.
It uses the tree-sitter grammar from this repo:
https://github.com/olehermanse/tree-sitter-cfengine
Releasing a new version
- Make your changes, commit them and push them.
Including:
- Update the grammar by changing the commit SHA at
./extension.toml.- Grammar changes often require changes in
./languages/cfengine/highlights.scm.
- Grammar changes often require changes in
- Set the version number at
./extension.toml
- Update the grammar by changing the commit SHA at
- Tag & release with GitHub UI. Tag / release name should match the version number set in the last commit.
- Submit a PR to the extensions repo to update the version: https://github.com/zed-industries/extensions/pull/5318
That PR must update both the version number in their
extensions.toml, and the submodule commit SHA.