13 lines
448 B
Lua
13 lines
448 B
Lua
-- example for addings schemas to yamlls
|
|
return { -- override table for require("lspconfig").yamlls.setup({...})
|
|
settings = {
|
|
yaml = {
|
|
schemas = {
|
|
["http://json.schemastore.org/github-workflow"] = ".github/workflows/*.{yml,yaml}",
|
|
["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
|
|
["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
|
|
},
|
|
},
|
|
},
|
|
}
|