MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / lspLinterSource

Function lspLinterSource

src/cm/lsp/diagnostics.ts:223–227  ·  view source on GitHub ↗
(view: EditorView)

Source from the content-addressed store, hash-verified

221}
222
223function lspLinterSource(view: EditorView): Diagnostic[] {
224 const plugin = LSPPlugin.get(view) as LSPPluginAPI | null;
225 if (!plugin) return [];
226 return mapDiagnostics(plugin, view.state);
227}
228
229export function lspDiagnosticsClientExtension(): {
230 clientCapabilities: Record<string, unknown>;

Callers

nothing calls this directly

Calls 2

mapDiagnosticsFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected