32 lines
907 B
Lua
32 lines
907 B
Lua
return {
|
|
settings = {
|
|
json = {
|
|
schemas = require("schemastore").json.schemas({
|
|
select = {
|
|
"devcontainer.json",
|
|
"devcontainer-feature.json",
|
|
},
|
|
replace = {
|
|
["devcontainer.json"] = {
|
|
description = "devcontainer.json overridden",
|
|
-- fileMatch has to be a table
|
|
fileMatch = { "devcontainer.json" },
|
|
name = "devcontainer.json",
|
|
url = "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainer.base.schema.json",
|
|
},
|
|
},
|
|
extra = {
|
|
{
|
|
description = "devcontainer-feature.json",
|
|
-- fileMatch has to be a table
|
|
fileMatch = { "devcontainer-feature.json" },
|
|
name = "devcontainer-feature.json",
|
|
url = "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
|
|
},
|
|
},
|
|
}),
|
|
validate = { enable = true },
|
|
},
|
|
},
|
|
}
|