return { before_init = function(_, config) config.settings.yaml.schemas = vim.tbl_extend("keep", { ["https://json.schemastore.org/github-action"] = ".github/action.{yaml,yml}", ["https://json.schemastore.org/github-workflow"] = ".github/workflows/*", ["https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json"] = "*lab-ci.{yaml,yml}", ["https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json"] = "docker-compose.{yml,yaml}", ["https://goreleaser.com/static/schema.json"] = ".goreleaser.{yml,yaml}", }, require("schemastore").yaml.schemas()) end, }