(view: EditorView)
| 221 | } |
| 222 | |
| 223 | function 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 | |
| 229 | export function lspDiagnosticsClientExtension(): { |
| 230 | clientCapabilities: Record<string, unknown>; |
nothing calls this directly
no test coverage detected