feat(nvim): support gitea workflows in yamlls

This commit is contained in:
Price Hiller 2024-01-31 23:51:43 -06:00
parent 47ae463173
commit b332395536
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -288,7 +288,21 @@ return {
},
},
yaml = {
schemas = require("schemastore").yaml.schemas({}),
schemaStore = {
enable = false,
url = ""
},
schemas = require("schemastore").yaml.schemas({
validate = { enable = true },
extra = {
{
description = "Gitea Actions",
fileMatch = ".gitea/workflows/*",
name = "gitea-workflow.json",
url = "https://json.schemastore.org/github-workflow.json"
}
}
}),
},
},
capabilities = lsp_capabilities,