Nomad
Nomad Language Server
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 Nomad. The extension's id is nomad.
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.
Overview
A Zed extension for the nomad-ls language server.
Configure file associations
The only defaults suffixes are .nomad and .nomad.hcl that match to Nomad Job, other languages need to be configured to work e.g.
// .zed/settings.json
{
"file_types": {
"Nomad ACL": ["**/*.nomad.acl"],
"Nomad Agent": ["**/*.nomad.client", "**/*.nomad.server"],
"Nomad CSI Volume": ["**/*.nomad.csi"],
"Nomad Dynamic Host Volume": ["**/*.nomad.dyn"],
"Nomad Job": ["**/*.nomad"],
"Nomad Namespace": ["**/*.nomad.ns"],
"Nomad Node Pool": ["**/*.nomad.np"],
"Nomad Resource Quota": ["**/*.nomad.rq"],
"Nomad Variable": ["**/*.nomad.var"]
}
}
[!Note] You may need to restart your editor for the changes to take effect
Build and install in Zed
You can install this as a dev extension directly in Zed:
- Open Zed's command palette (
Cmd+Shift+P) - Run
zed: install dev extension - Navigate to and select the
zed-nomad-extensiondirectory
Zed will automatically build and load the extension from the source directory.