From ddf3cbff8424775d26c7bc393825b1dc78b0c5a2 Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Mon, 24 Aug 2026 07:26:28 +0200 Subject: [PATCH] Reword outdated Dockerfile config documentation Updates to the latest list of supported filenames, and clarifies that users only have to add extra filenames (not all of them). --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46a3aa6..aaadf26 100644 --- a/README.md +++ b/README.md @@ -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.*"], } } ```