MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getCliHighlightPromise

Function getCliHighlightPromise

src/utils/cliHighlight.ts:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function getCliHighlightPromise(): Promise<CliHighlight | null> {
39 cliHighlightPromise ??= loadCliHighlight()
40 return cliHighlightPromise
41}
42
43/**
44 * eg. "foo/bar.ts""TypeScript". Awaits the shared cli-highlight load,

Callers 5

MarkdownWithHighlightFunction · 0.85
PreviewBoxWithHighlightFunction · 0.85
HighlightedFunction · 0.85
getLanguageNameFunction · 0.85

Calls 1

loadCliHighlightFunction · 0.85

Tested by

no test coverage detected