Use schemastore plugin for yamlls

This commit is contained in:
2025-05-30 17:38:17 +02:00
parent 3f9ec6a29f
commit 644edc8b2e

View File

@@ -9,5 +9,15 @@ return {
},
},
})
end
vim.lsp.config("yamlls", {
settings = {
yaml = {
-- Using the schemastore plugin for schemas.
schemastore = { enable = false, url = "" },
schemas = require("schemastore").yaml.schemas(),
},
},
})
end,
}