Description
opened on Jul 8, 2021
Describe the bug
The latest version, 0.21.0
introduced a bug if a yaml file uses
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema#
An error is shown
Unable to load schema from '/project/root/dir/http:/json-schema.org/draft-07/schema#': .YAML(768)
Expected Behavior
The remote schema should be loaded
Current Behavior
An error is reported
Steps to Reproduce
- Upgrade to
0.21.0
- Create a yaml file with the contents
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema# properties: foo: type: string
Environment
- Windows
- Mac
- Linux
- other (please specify)
Workaround
- In the Extensions tab, find the YAML plugin
- Open the menu for the plugin (Gear Icon)
- Choose 'Install Another Version'
- Install version
0.20.0
Activity