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

Function getConfiguredThemeExtension

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

Source from the content-addressed store, hash-verified

371 }
372
373 function getConfiguredThemeExtension() {
374 const desiredTheme = appSettings?.value?.editorTheme;
375 return getThemeExtensions(desiredTheme, [oneDark]);
376 }
377
378 function makeWrapExtension() {
379 return appSettings?.value?.textWrap ? EditorView.lineWrapping : [];

Callers 3

EditorManagerFunction · 0.85
showLoadingEditorFunction · 0.85
applyFileToEditorFunction · 0.85

Calls 1

getThemeExtensionsFunction · 0.90

Tested by

no test coverage detected