Use schemastore plugin for yamlls

This commit is contained in:
Dreaded_X 2025-05-30 17:38:17 +02:00
parent 3f9ec6a29f
commit 644edc8b2e
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

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,
} }