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.

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

Default: null

Plugin default: 1000

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.

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

Default: null

Plugin default: 0

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.

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

Default: null

Plugin default: 0

Declared by: