Added new schemas to yamlls

This commit is contained in:
Marcin Woźniak 2022-04-26 09:48:13 +02:00
parent 8ea32b0708
commit 0b65379901

View File

@ -194,10 +194,11 @@ end
require'lspconfig'.yamlls.setup{ require'lspconfig'.yamlls.setup{
settings = { settings = {
json = { json = {
schemas = { schemas = {
ansible = 'https://github.com/ansible/schemas/blob/main/f/ansible.json', ["https://raw.githubusercontent.com/quantumblacklabs/kedro/develop/static/jsonschema/kedro-catalog-0.17.json"]= "conf/**/*catalog*",
kubernetes = 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.1-standalone/all.json' ["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
} ["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml"
}
}, },
} }
} }