Skip to content

Eglot + yaml-language-server #918

Answered by beji
johnhamelink asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know if this is still relevant. I also don't have the slightest idea why this works but this seems to create the correct json:

((yaml-mode . ((eglot-workspace-configuration . ((yaml schemas . ((
                    https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible.json\#/definitions/playbook "/DMZ/kafka/provision/playbooks/*.yml"
                    https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible-inventory.json "/DMZ/kafka/provision/hosts_*.yml"
                    https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible.json\#/definitions/tasks [
                        "/DMZ/kafka/provision/roles/*/tasks/*.yml"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johnhamelink
Comment options

Answer selected by johnhamelink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants