docs(lsp): regenerate config catalog for optional lsp-local config fields

This commit is contained in:
Dudu-0223
2026-07-16 12:08:06 +08:00
parent d0029d8d60
commit 575feaddfa

View File

@@ -430,26 +430,26 @@ export interface Config {
providerId: string providerId: string
/** Executable to spawn (absolute, or resolved on PATH at load). */ /** Executable to spawn (absolute, or resolved on PATH at load). */
command: string command: string
/** Arguments passed to the executable (no shell). */
args: string[]
/** Extra env vars merged on top of the scrubbed ambient env. */
env: Record<string, string>
/** Lowercase leading-dot extension → LSP language id (e.g. `{ '.ts': 'typescript' }`). */ /** Lowercase leading-dot extension → LSP language id (e.g. `{ '.ts': 'typescript' }`). */
extensionToLanguage: Record<string, string> extensionToLanguage: Record<string, string>
/** Static `initialize` options forwarded to the server. */ /** Arguments passed to the executable (no shell). Default `[]`. */
initializationOptions: unknown args?: string[]
/** Static answer to every `workspace/configuration` item. */ /** Extra env vars merged on top of the scrubbed ambient env. Default `{}`. */
configuration: unknown env?: Record<string, string>
/** Largest single framed message accepted from the server (bytes). */ /** Static `initialize` options forwarded to the server. Default `null`. */
maxMessageBytes: number initializationOptions?: unknown
/** Largest stderr tail retained for diagnostics (bytes). */ /** Static answer to every `workspace/configuration` item. Default `null`. */
maxStderrBytes: number configuration?: unknown
/** Largest source file this host will open (bytes). */ /** Largest single framed message accepted from the server (bytes). Default 16000000. */
maxDocumentBytes: number maxMessageBytes?: number
/** Graceful `shutdown`/`exit` budget before escalation (ms). */ /** Largest stderr tail retained for diagnostics (bytes). Default 1000000. */
shutdownTimeoutMs: number maxStderrBytes?: number
/** SIGTERM→SIGKILL grace after graceful shutdown fails (ms). */ /** Largest source file this host will open (bytes). Default 4000000. */
killGraceMs: number maxDocumentBytes?: number
/** Graceful `shutdown`/`exit` budget before escalation (ms). Default 5000. */
shutdownTimeoutMs?: number
/** SIGTERM→SIGKILL grace after graceful shutdown fails (ms). Default 2000. */
killGraceMs?: number
} }
``` ```