Closed odiak closed 1 year ago
I roughly read source code, and I thought code below might cause this issue.
This was introduced in pull request: https://github.com/redhat-developer/yaml-language-server/pull/282
@JPinkney As original author of that code, how do you think of this problem?
Describe the bug
Related to https://github.com/redhat-developer/vscode-yaml/issues/894.
I'm using YAML VSCode extension. I wrote a custom YAML schema in a project and associate its schema to some files in the project using VSCode setting like below.
Though
./schemas/custom.yml
is applied to./{a,b}/config.yml
, but it is also applied to./schemas/custom.yml
itself.Expected Behavior
The schema
./schemas/custom.yml
is NOT applied toschemas/custom.yml
itself.Current Behavior
The schema
./schemas/custom.yml
is NOT applied toschemas/custom.yml
itself.Steps to Reproduce
schemas/custom.yml
"yaml.schemas"
setting in.vscode/settings.json
Environment