[nvim] customize yamlls with schemas

This commit is contained in:
eleith 2023-03-31 21:16:57 +00:00
parent 55855caaa7
commit 48fd8862c7
1 changed files with 13 additions and 1 deletions

View File

@ -90,7 +90,19 @@ return {
return vim.loop.cwd()
end,
} },
{ "yamlls" },
{
"yamlls",
{
settings = {
yaml = {
schemas = {
["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
["https://raw.githubusercontent.com/woodpecker-ci/woodpecker/master/pipeline/schema/schema.json"] = "/.woodpecker",
},
},
},
},
},
{ "cssls" },
{ "lua_ls" },
}