Skip to content

Commit 024cb2c

Browse files
committed
fix: Fix syntax highlighting loading error.
1 parent a51f572 commit 024cb2c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/CodeMirror/web.bundle/codemirror.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codemirrorjs/codemirror.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ const editorView = new CodeMirror.EditorView({
218218
lineNumber.of([]),
219219
baseTheme,
220220
theme.of(oneDark),
221-
language.of(),
222-
// language.of(json()),
221+
language.of([]),
223222
listener.of([]),
224223
],
225224
parent: document.body,

0 commit comments

Comments
 (0)