Skip to content

Type to search extensions

env

v0.0.2

🔐 Environment support. ✰ and report issues ➩

Updated 4 months ago
132k downloads 65 stars Repository ↗

Env

Env support is available natively in Zed.

Zed recognizes .env and .env.* files as Env. Files named .envrc are Shell Script, because direnv executes them as shell.

Configuration

Env files are highlighted but no language server is started for them. To run shell tooling on them, map them to Shell Script in your Zed settings.json:

  "file_types": {
    "Shell Script": [".env", ".env.*"]
  },

To recognize other file names as Env files:

  "file_types": {
    "Env": ["*.dotenv"]
  },

See also: