extensions/markdown-language-features/src/languageFeatures/diagnostics.ts/DiagnosticManager/recomputeDiagnosticState
class DiagnosticManager:	private async recomputeDiagnosticState(doc: ITextDocument, token: vscode.CancellationToken): Promise<{ diagnostics: readonly vscode.Diagnostic[]; links: readonly MdLink[]; config: DiagnosticOptions }> {
		this.logger.verbose('DiagnosticManager', `recomputeDiagnosticState - ${doc.uri}`);

		const config = this.configuration.getOptions(doc.uri);
		if (!config.enabled) {
			return { diagnostics: [], links: [], config };
		}
		return { ...await this.computer.getDiagnostics(doc, config, token), config };
	}