Helix: yaml LSP config
This commit is contained in:
parent
e9cbc2fa9c
commit
b17d681ef3
1 changed files with 4 additions and 1 deletions
|
|
@ -39,7 +39,10 @@
|
|||
chktex.onEdit = true;
|
||||
};
|
||||
yaml-language-server.config.yaml = {
|
||||
format.enable = true;
|
||||
validation = true;
|
||||
keyOrdering = false;
|
||||
schemaStore.enable = true;
|
||||
schemas = {
|
||||
"https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json" = "*gitlab-ci*.{yml,yaml}";
|
||||
"https://json.schemastore.org/ansible-playbook" = "*play*.{yml,yaml}";
|
||||
|
|
@ -54,7 +57,7 @@
|
|||
"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json" = "*api*.{yml,yaml}";
|
||||
"https://raw.githubusercontent.com/argoproj/argo-workflows/master/api/jsonschema/schema.json" = "*flow*.{yml,yaml}";
|
||||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json" = "*docker-compose*.{yml,yaml}";
|
||||
kubernetes = "*.yaml";
|
||||
kubernetes = "*.y{a,}ml";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue