🐳 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
| Feature | Tool |
|---|---|
| Dockerfile completion and hover | dockerls |
| docker compose completion and validation | docker_compose_language_service |
| YAML | yamlls |
| Dockerfile linting | hadolint |
| Syntax highlighting | treesitter 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.