redhat-developer / yaml-language-server

Language Server for YAML Files
MIT License
1.1k stars 264 forks source link

Matches multiple schemas when only one must validate #998

Open fe2-Nyxar opened 1 week ago

fe2-Nyxar commented 1 week ago

Describe the bug

I'm getting this error no matter what is the content of the file, the code works correctly but i'm getting an error. I'm using Neovim, the autocompletion is working and everything

Expected Behavior

no error

Current Behavior

apiVersion: v1 # Error: Matches multiple schemas when only one must validate
kind: Deployment
metadata:
    ...

Steps to Reproduce

  1. changed Kubernetes filetype from to *.k8s.yaml, that's all

Environment