You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got MethodNotFound error if yaml.schemas matches filename fleet.yaml, no error if changed to other filename.
Expected Behavior
No diagonostics error.
Current Behavior
Ddiagonostics error:
Problems loading reference 'schemaservice:/Users/roc/dotfiles/kubeschemas/fleet-agones.dev-v1.json': Unable to load schema from 'schemaservice:/Users/roc/dotfiles/kubeschemas/fleet-agones.dev-v1.json': MethodNotFound. [768]
Steps to Reproduce
Neovim yamlls config matches filename fleet.yaml:
No error output if changed to another filename which not equal fleet.yaml.
Environment
Windows
Mac
Linux
other (please specify)
yaml-language-server is managed by Mason which uses latest release 1.15.0:
About My Neovim Usage
I write scripts to parse kubernetes YAML file, set json schema to yamlls according to apiVersion and kind, append current file path to related json schema.
The most important is to customize yamlls on_attach function, share my scripts:
Describe the bug
Got
MethodNotFound
error ifyaml.schemas
matches filenamefleet.yaml
, no error if changed to other filename.Expected Behavior
No diagonostics error.
Current Behavior
Ddiagonostics error:
Steps to Reproduce
Neovim yamlls config matches filename
fleet.yaml
:No error output if changed to another filename which not equal
fleet.yaml
.Environment
yaml-language-server
is managed byMason
which uses latest release1.15.0
:About My Neovim Usage
I write scripts to parse kubernetes YAML file, set json schema to yamlls according to
apiVersion
andkind
, append current file path to related json schema.The most important is to customize yamlls
on_attach
function, share my scripts:The text was updated successfully, but these errors were encountered: