Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm starting to work with kubernetes and it would be really nice to have the full completion that Redhat's language server offers for k8s yaml files if you associate the right schema with it.
Not sure how much this might help, but lsp-mode has lsp-yaml-select-buffer-schema and lsp-yaml-set-buffer-schema commands to pick schema from a list or set from a URI. Checking the source of them might give some hints about how the same could be implemented in eglot?
It doesn't automatically detect the schema, but I can use `.dir-locals.el` to set one. FWIW, ansible-mode seems to be pretty good, as well.