From 0b65379901e200ba40935dbeec75ce478d45c996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 26 Apr 2022 09:48:13 +0200 Subject: [PATCH] Added new schemas to yamlls --- .config/nvim/init.vim | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0ed4050..39d1254 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -194,10 +194,11 @@ end require'lspconfig'.yamlls.setup{ settings = { json = { - schemas = { - ansible = 'https://github.com/ansible/schemas/blob/main/f/ansible.json', - kubernetes = 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.1-standalone/all.json' - } + schemas = { + ["https://raw.githubusercontent.com/quantumblacklabs/kedro/develop/static/jsonschema/kedro-catalog-0.17.json"]= "conf/**/*catalog*", + ["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*", + ["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml" + } }, } }