16 lines
423 B
Lua
16 lines
423 B
Lua
|
|
-- Install: npm install -g yaml-language-server
|
||
|
|
return {
|
||
|
|
cmd = { "yaml-language-server", "--stdio" },
|
||
|
|
filetypes = { "yaml", "yaml.docker-compose", "yaml.gitlab" },
|
||
|
|
root_markers = { ".git" },
|
||
|
|
settings = {
|
||
|
|
redhat = { telemetry = { enabled = false } },
|
||
|
|
yaml = {
|
||
|
|
keyOrdering = false,
|
||
|
|
format = { enable = true },
|
||
|
|
validate = true,
|
||
|
|
schemaStore = { enable = false, url = "" },
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|