neovim/lsp/yaml.lua

12 lines
338 B
Lua

---@type vim.lsp.Config
return {
filetypes = { "yaml" },
cmd = { "yaml-language-server", "--stdio" },
settings = {
yaml = {
-- Using the schemastore plugin for schemas.
schemastore = { enable = false, url = "" },
schemas = require("schemastore").yaml.schemas(),
},
},
}