From 95dad34823463ba1284a7621b473ffe97403a008 Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Fri, 18 Apr 2025 11:02:40 +0200 Subject: [PATCH] Associate 'Containerfile' with 'dockerfile' filetype 'Containerfile' [1] is a supported alternative name for container build definitions. It is recognized by Docker and other container tools, and can help clarify intent in multi-container repositories or non-Docker-specific setups. [1]: https://github.com/containers/common/blob/main/docs/Containerfile.5.md --- lua/lazyvim/plugins/extras/lang/docker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/lang/docker.lua b/lua/lazyvim/plugins/extras/lang/docker.lua index ea26b013..52d80ff6 100644 --- a/lua/lazyvim/plugins/extras/lang/docker.lua +++ b/lua/lazyvim/plugins/extras/lang/docker.lua @@ -2,7 +2,7 @@ return { recommended = function() return LazyVim.extras.wants({ ft = "dockerfile", - root = { "Dockerfile", "docker-compose.yml", "compose.yml", "docker-compose.yaml", "compose.yaml" }, + root = { "Dockerfile", "Containerfile", "docker-compose.yml", "compose.yml", "docker-compose.yaml", "compose.yaml" }, }) end, {