plugins.lsp.servers.ccls.initOptions.diagnostics.onChange

Time (in milliseconds) to wait before computing diagnostics for textDocument/didChange. After receiving a textDocument/didChange, wait up to this long before reporting diagnostics. Changes during this period of time only lead to one computation.

Diagnostics require parsing the file. If 1000 makes you feel slow, consider setting this to 1.

Plugin default: 1000

Type: null or signed integer or floating point number or raw lua code

Default: null

Declared by:

plugins.lsp.servers.ccls.initOptions.diagnostics.onOpen

Time (in milliseconds) to wait before computing diagnostics for textDocument/didOpen. How long to wait before diagnostics are emitted when a document is opened.

Plugin default: 0

Type: null or signed integer or floating point number or raw lua code

Default: null

Declared by:

plugins.lsp.servers.ccls.initOptions.diagnostics.onSave

Time (in milliseconds) to wait before computing diagnostics for textDocument/didSave. How long to wait before diagnostics are emitted after a document is saved.

Plugin default: 0

Type: null or signed integer or floating point number or raw lua code

Default: null

Declared by: