This commit is contained in:
2023-09-03 14:10:06 +02:00
parent 30c9094032
commit 92695f1193
2 changed files with 7 additions and 8 deletions

View File

@ -3,7 +3,7 @@ import { examples } from "./examples/excerpts";
import { EditorState, Compartment } from "@codemirror/state";
import { ViewUpdate, lineNumbers, keymap } from "@codemirror/view";
import { javascript } from "@codemirror/lang-javascript";
import { materialDark } from "./themes/materialDark";
import { toposTheme } from "./themes/toposTheme";
import { markdown } from "@codemirror/lang-markdown";
import { Extension, Prec } from "@codemirror/state";
import { indentWithTab } from "@codemirror/commands";
@ -254,7 +254,7 @@ export class Editor {
this.fontSize.of(fontModif),
this.vimModeCompartment.of(vimPlugin),
editorSetup,
materialDark,
toposTheme,
this.chosenLanguage.of(javascript()),
EditorView.updateListener.of((v: ViewUpdate) => {
v;