Skip to main content

🐳 Docker Extra

For Inception: Dockerfiles, docker compose and nginx/YAML configuration.

Enabling​

Select lang.docker in :FtVimExtras or add:

{ import = "ftvim.plugins.extras.lang.docker" },

Features​

FeatureTool
Dockerfile completion and hoverdockerls
docker compose completion and validationdocker_compose_language_service
YAMLyamlls
Dockerfile lintinghadolint
Syntax highlightingtreesitter dockerfile, yaml and nginx parsers

Everything is installed automatically with Mason.

docker-compose.yml, docker-compose.yaml, compose.yml and compose.yaml get the yaml.docker-compose filetype, so the compose language server attaches to them. Files like nginx/conf/nginx.conf are recognized as nginx configuration.