馃 my neovim config:)
1return {
2 before_init = function(_, config)
3 config.settings.yaml.schemas = vim.tbl_extend("keep", {
4 ["https://json.schemastore.org/github-action"] = ".github/action.{yaml,yml}",
5 ["https://json.schemastore.org/github-workflow"] = ".github/workflows/*",
6 ["https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json"] = "*lab-ci.{yaml,yml}",
7 ["https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json"] = "docker-compose.{yml,yaml}",
8 ["https://goreleaser.com/static/schema.json"] = ".goreleaser.{yml,yaml}",
9 }, require("schemastore").yaml.schemas())
10 end,
11}