docs: clarify LSP and formatter opt-in config (#25502)

This commit is contained in:
Luke Parker 2026-05-03 10:09:50 +10:00 committed by GitHub
parent 85bb9007ba
commit 6b68b1020e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 92 additions and 22 deletions

View file

@ -192,8 +192,14 @@ export const Info = Schema.Struct({
]),
),
).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
formatter: Schema.optional(ConfigFormatter.Info),
lsp: Schema.optional(ConfigLSP.Info),
formatter: Schema.optional(ConfigFormatter.Info).annotate({
description:
"Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.",
}),
lsp: Schema.optional(ConfigLSP.Info).annotate({
description:
"Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.",
}),
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
description: "Additional instruction files or patterns to include",
}),