Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ Each is offered for `docker compose`, `docker-compose`, `podman compose` and

## Configuration

To support matching filenames other than `Dockerfile` you can add [`file_types`](https://zed.dev/docs/configuring-zed#file-types) to your Zed project or user settings:
By default, this extension associates `Dockerfile`, `dockerfile`, and `Containerfile` with Dockerfile syntax.

To match *additional* custom patterns (such as `Dockerfile.dev` or `Dockerfile.prod`), add the [`file_types`](https://zed.dev/docs/configuring-zed#file-types) setting to your user or project `settings.json`:

```json
{
"file_types": {
"Dockerfile": ["Dockerfile.*"]
"Dockerfile": ["Dockerfile.*", "Containerfile.*"],
}
}
```
Expand Down