feat(yaml): use schema store

This commit is contained in:
Oliver Ladner 2025-12-04 15:45:29 +01:00
commit b948407ec1
2 changed files with 11 additions and 0 deletions

View file

@ -2,4 +2,11 @@
return {
filetypes = { "yaml" },
cmd = { "yaml-language-server", "--stdio" },
settings = {
yaml = {
-- Using the schemastore plugin for schemas.
schemastore = { enable = false, url = "" },
schemas = require("schemastore").yaml.schemas(),
},
},
}

View file

@ -0,0 +1,4 @@
-- JSON/YAML schemas.
return {
{ "b0o/SchemaStore.nvim", lazy = true },
}