Refactor Dockerfile root configuration format

This commit is contained in:
Michael Nikitochkin 2025-04-18 11:05:37 +02:00 committed by GitHub
parent 95dad34823
commit 224a733d43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,14 @@ return {
recommended = function() recommended = function()
return LazyVim.extras.wants({ return LazyVim.extras.wants({
ft = "dockerfile", ft = "dockerfile",
root = { "Dockerfile", "Containerfile", "docker-compose.yml", "compose.yml", "docker-compose.yaml", "compose.yaml" }, root = {
"Dockerfile",
"Containerfile",
"docker-compose.yml",
"compose.yml",
"docker-compose.yaml",
"compose.yaml"
},
}) })
end, end,
{ {