lintDisplay

fun lintDisplay(config: LintConfig = LintConfig()): Extension

The diagnostic-display half of the linter, without any lint source.

Installs the diagnostic state field (underline decorations + hover tooltip), the lint panel, and the lint keymap, so that diagnostics pushed via setDiagnostics are rendered. Use this when diagnostics come from somewhere other than a local LintSource — for example a language server feeding diagnostics in directly. The plain linter functions build on top of this.

Parameters

config

Linter configuration. Only LintConfig.tooltipFilter affects the display; the source-related options are unused here.