Skip to content

Commit f0ea477

Browse files
committed
Add doc
1 parent 632d5b3 commit f0ea477

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codemirror-ls/src/extensions/linting.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ import type { LSExtensionGetter, Renderer } from "./types.js";
2323

2424
export interface DiagnosticArgs {
2525
render?: LintingRenderer;
26+
/**
27+
* Mapping from LSP DiagnosticSeverity to CodeMirror Diagnostic severity.
28+
*
29+
* Generally you shouldn't need to change this.
30+
*/
2631
severityMap?: typeof SEVERITY_MAP;
2732
}
2833

0 commit comments

Comments
 (0)