summaryrefslogtreecommitdiffhomepage
path: root/packages/lsp/src/diagnostics.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lsp/src/diagnostics.ts')
-rw-r--r--packages/lsp/src/diagnostics.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/lsp/src/diagnostics.ts b/packages/lsp/src/diagnostics.ts
index bc7ac0a..50beca9 100644
--- a/packages/lsp/src/diagnostics.ts
+++ b/packages/lsp/src/diagnostics.ts
@@ -91,7 +91,7 @@ export class DiagnosticsStore {
}
}
-function diagnosticKey(d: Diagnostic): string {
+export function diagnosticKey(d: Diagnostic): string {
const r = d.range;
return `${r.start.line}:${r.start.character}-${r.end.line}:${r.end.character}:${d.severity ?? 0}:${d.message}`;
}