Formatting, yamlls config

This commit is contained in:
2023-03-12 20:15:26 +02:00
parent a4af0e0e98
commit df9530784f

View File

@@ -130,15 +130,22 @@ local config = {
-- example for addings schemas to yamlls -- example for addings schemas to yamlls
yamlls = { yamlls = {
-- override table for require("lspconfig").yamlls.setup({...}) -- override table for require("lspconfig").yamlls.setup({...})
-- settings = { settings = {
-- yaml = { yaml = {
editor = {
tabSize = 2,
},
completion = true,
schemastore = {
enabled = true,
},
-- schemas = { -- schemas = {
-- ["http://json.schemastore.org/github-workflow"] = ".github/workflows/*.{yml,yaml}", -- ["http://json.schemastore.org/github-workflow"] = ".github/workflows/*.{yml,yaml}",
-- ["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}", -- ["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
-- ["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}", -- ["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
-- }, -- },
-- }, },
-- }, },
}, },
}, },
}, },