Skip to content

switch schema for kubernetes #73

Open
@manlme

Description

@manlme

I tried to switch the version of kubernetes schema with both url and local file as below in yaml.schemas. it's always report the error and the completion is not working well. when using keyword kubernete. but the schema version for kubernete from dist/languageserver.js is too old. where did this file generated and how?

{
  "yaml.enable":true,
  "yaml.schemas":{
    "file:///Users/xxx/workspace/kubernetes-json-schema/v1.22.5-standalone-strict/all.json":"abc.yaml"
  }
}

the error

  Matches multiple schemas when only one must validate. (yaml-schema: file:///
  Users/xxx/workspace/kubernetes-json-schema/v1.22.5-standalone-strict/all.
  json)

CocInfo

## versions

vim version: NVIM v0.8.0
node version: v19.0.1
coc.nvim version: 0.0.82-55f0f9e 2022-12-04 04:50:13 +0800
coc.nvim directory: /Users/manfred/.cache/vimfiles/repos/github.com/neoclide/coc.nvim
term: iTerm.app
platform: darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions