24 lines
747 B
Lua
24 lines
747 B
Lua
return {
|
|
cmd = { "yaml-language-server", "--stdio" },
|
|
filetypes = { "yaml", "yaml.docker-compose", "yaml.gitlab" },
|
|
root_markers = { "." },
|
|
|
|
settings = {
|
|
yaml = {
|
|
schemaStore = {
|
|
-- You must disable built-in schemaStore support if you want to use
|
|
-- this plugin and its advanced options like `ignore`.
|
|
enable = false,
|
|
-- Avoid TypeError: Cannot read properties of undefined (reading 'length')
|
|
url = "",
|
|
},
|
|
schemas = require('schemastore').yaml.schemas(),
|
|
},
|
|
redhat = {
|
|
telemetry = {
|
|
enabled = false
|
|
}
|
|
}
|
|
},
|
|
single_file_support = true
|
|
}
|