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

Function loadHoverContentLanguages

src/cm/lsp/tooltipExtensions.ts:244–251  ·  view source on GitHub ↗
(contents: Hover["contents"])

Source from the content-addressed store, hash-verified

242}
243
244async function loadHoverContentLanguages(contents: Hover["contents"]): Promise<void> {
245 const languageTags = collectHoverLanguages(contents);
246 await Promise.all(
247 Array.from(languageTags, (language) =>
248 loadLspHoverHighlightLanguage(language),
249 ),
250 );
251}
252
253function fromPosition(
254 doc: EditorView["state"]["doc"],

Callers 1

lspTooltipSourceFunction · 0.85

Calls 2

collectHoverLanguagesFunction · 0.85

Tested by

no test coverage detected