fix yaml schemas
This commit is contained in:
parent
5f97c9bfb2
commit
677ee2cd46
1 changed files with 14 additions and 14 deletions
|
|
@ -17,22 +17,22 @@
|
||||||
yamlls = {
|
yamlls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
settings = ''
|
settings = {
|
||||||
yaml = {
|
yaml = {
|
||||||
schemas = {
|
schemas = {
|
||||||
kubernetes = '*.yaml',
|
kubernetes = "'*.yaml";
|
||||||
['http://json.schemastore.org/github-workflow'] = '.github/workflows/*',
|
"http://json.schemastore.org/github-workflow" = ".github/workflows/*";
|
||||||
['http://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}',
|
"http://json.schemastore.org/github-action" = ".github/action.{yml,yaml}";
|
||||||
['http://json.schemastore.org/ansible-stable-2.9'] = 'roles/tasks/*.{yml,yaml}',
|
"http://json.schemastore.org/ansible-stable-2.9" = "roles/tasks/*.{yml,yaml}";
|
||||||
['http://json.schemastore.org/kustomization'] = 'kustomization.{yml,yaml}',
|
"http://json.schemastore.org/kustomization" = "kustomization.{yml,yaml}";
|
||||||
['http://json.schemastore.org/ansible-playbook'] = '*play*.{yml,yaml}',
|
"http://json.schemastore.org/ansible-playbook" = "*play*.{yml,yaml}";
|
||||||
['http://json.schemastore.org/chart'] = 'Chart.{yml,yaml}',
|
"http://json.schemastore.org/chart" = "Chart.{yml,yaml}";
|
||||||
['https://json.schemastore.org/dependabot-v2'] = '.github/dependabot.{yml,yaml}',
|
"https://json.schemastore.org/dependabot-v2" = ".github/dependabot.{yml,yaml}";
|
||||||
['https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json'] = '*docker-compose*.{yml,yaml}',
|
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json" = "*docker-compose*.{yml,yaml}";
|
||||||
['https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json'] = '*flow*.{yml,yaml}',
|
"https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json" = "*flow*.{yml,yaml}";
|
||||||
},
|
};
|
||||||
}
|
};
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue