2025-04-01 10:53:48 +02:00
|
|
|
---@type vim.lsp.Config
|
|
|
|
|
return {
|
|
|
|
|
filetypes = { "yaml" },
|
|
|
|
|
cmd = { "yaml-language-server", "--stdio" },
|
2025-12-04 15:45:29 +01:00
|
|
|
settings = {
|
|
|
|
|
yaml = {
|
|
|
|
|
-- Using the schemastore plugin for schemas.
|
|
|
|
|
schemastore = { enable = false, url = "" },
|
|
|
|
|
schemas = require("schemastore").yaml.schemas(),
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-04-01 10:53:48 +02:00
|
|
|
}
|