Write .rf.hcl with diagnostics, completion, hover, definitions and formatting.
The extension adds syntax highlighting and launches rootform lsp from your
local CLI. It ships no compiler and downloads no Rootform binary.
- Install Rootform and verify
rootform version. - In Zed's Extensions, install Rootform.
- Open a
.rf.hclfile.
The extension finds rootform on the worktree PATH. To choose another
executable, set both its path and arguments:
{
"lsp": {
"rootform": {
"binary": {
"path": "/absolute/path/to/rootform",
"arguments": ["lsp"]
}
}
}
}Zed launches that executable directly and passes binary.env to it.
Keep arguments set to ["lsp"]. After a launch error or executable replacement,
run editor: restart language server.
Zed guide |
rootform lsp |
Report an issue
Apache-2.0. Third-party notices cover the pinned HCL grammar and Rust dependencies. Rootform trademark terms apply.