neovim: add kubernetes json schema to yamlls LSP

This commit is contained in:
teutat3s 2023-05-13 18:47:56 +02:00
parent 42ff409512
commit 90e1fe7e6f
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -147,6 +147,7 @@ lua <<EOF
['settings'] = {
['yaml'] = {
['schemas'] = {
["https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.1-standalone-strict/all.json"] = ".sensu/*.{yml,yaml}",
['https://json.schemastore.org/github-workflow'] = '.github/workflows/*.{yml,yaml}',
['https://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}',
['https://json.schemastore.org/ansible-stable-2.9'] = 'roles/tasks/*.{yml,yaml}',