mirror of
https://github.com/ivuorinen/astronvim_config.git
synced 2026-01-26 03:14:06 +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
|
||||
yamlls = {
|
||||
-- override table for require("lspconfig").yamlls.setup({...})
|
||||
-- settings = {
|
||||
-- yaml = {
|
||||
settings = {
|
||||
yaml = {
|
||||
editor = {
|
||||
tabSize = 2,
|
||||
},
|
||||
completion = true,
|
||||
schemastore = {
|
||||
enabled = true,
|
||||
},
|
||||
-- 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}",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user