Hacker Newsnew | past | comments | ask | show | jobs | submit | drLuca's commentslogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: