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
This commit is contained in:
Michael Nikitochkin 2025-04-18 11:02:40 +02:00 committed by GitHub
parent ec5981dfb1
commit 95dad34823
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
{