2 pointsby drLuca4 hours ago1 comment
  • drLuca4 hours ago
    yaml-language-server is great, but outside VS Code schema association is mostly glob-based, which quickly becomes ambiguous (multiple schemas match) or pushes you into modelines.

    yaml-schema-router is a lightweight stdio proxy that sits between any LSP client and yaml-language-server and injects the correct schema per file by inspecting YAML content and caching schemas locally.

    Current detectors focus on Kubernetes: - apiVersion/kind-based routing for standard resources - CRD support with ObjectMeta wrapper validation