-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I wanted to duplicate this report this here:
I found that the Docker Compose extension was the cause of the Unresolved Tag warnings. When I uninstalled the extension, they disappeared (using your test repo). The extension registers its own language server for YAML files. I re-installed the extension, but I disabled its language server it in my project settings:
"languages": { "YAML": { "language_servers": ["yaml-language-server", "!docker-compose"] } },Ultimately, the issue seems to be with other extensions registering language servers for YAML files and not providing a way to register custom tags.
I think the appropriate workaround is for the zed docker compose extension to register a new language Docker Compose instead of adding itself as a language server for YAML. Sadly path_suffixes in config.toml does not support globbing so currently it it could only be path_suffixes = ["docker-compose.yml", "docker-compose.yaml"] but users could manually specify globs via file_types in their zed user/project setting.json.