b0o / SchemaStore.nvim

🛍 JSON schemas for Neovim
https://schemastore.org
Apache License 2.0
697 stars 17 forks source link

Extend for yaml / yml #3

Closed lucax88x closed 2 years ago

lucax88x commented 2 years ago

Hi!

can we extend the plugin for yml files?

this is an example:

https://github.com/neovim/nvim-lspconfig/issues/229

b0o commented 2 years ago

Hello! yamlls already has built-in SchemaStore support:

yaml.schemaStore.enable: When set to true the YAML language server will pull in all available schemas from JSON Schema Store

Alternatively, if you still want to use this plugin, I have seen instances of people using it with yamlls. Here’s an example I found by searching GitHub. I haven’t tested this myself, though.

lucax88x commented 2 years ago

Thanks!