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

Function makeRainbowBracketExtension

src/lib/editorManager.js:454–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452 }
453
454 function makeRainbowBracketExtension() {
455 const enabled = appSettings?.value?.rainbowBrackets ?? true;
456 if (!enabled) return [];
457
458 const themeId = appSettings?.value?.editorTheme || "one_dark";
459 return rainbowBrackets({
460 colors: getRainbowBracketColors(getThemeConfig(themeId)),
461 });
462 }
463
464 function makeWhitespaceTheme() {
465 return EditorView.theme({

Callers 1

buildFunction · 0.85

Calls 3

getRainbowBracketColorsFunction · 0.90
getThemeConfigFunction · 0.90
rainbowBracketsFunction · 0.85

Tested by

no test coverage detected