mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-03-15 15:59:35 +00:00
Formatting, yamlls config
This commit is contained in:
15
init.lua
15
init.lua
@@ -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}",
|
||||||
-- },
|
-- },
|
||||||
-- },
|
},
|
||||||
-- },
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user