From a689039ae2f125b793b0320917f928a21d8e9800 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 30 Apr 2022 09:37:58 +0100 Subject: [PATCH] Add yaml.schemas not matches by default --- coc-settings.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/coc-settings.json b/coc-settings.json index d42efa0..9516158 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -1,8 +1,22 @@ { "cmake.lsp.enable": true, + "diagnostic.enableHighlightLineNumber": false, + "diagnostic.errorSign": "▸", "diagnostic.hintSign": "▸", "diagnostic.infoSign": "▸", "diagnostic.warningSign": "▸", - "diagnostic.errorSign": "▸", - "diagnostic.enableHighlightLineNumber": false + "yaml.schemas": { + "https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible.json#/definitions/playbook": [ + "/home/*/.config/local.yaml", + "/home/*/.config/local/*.yaml", + "/Users/*/.config/local.yaml", + "/Users/*/.config/local/*.yaml" + ], + "https://raw.githubusercontent.com/ansible-community/schemas/main/f/ansible.json#/definitions/tasks": [ + "tasks.yaml" + ], + "https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json": [ + ".gitlab/ci/*.yml" + ] + } }