diff --git a/package.json b/package.json index 57ca036..c5d4887 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "@codemirror/closebrackets": "^0.19.0", "@codemirror/commands": "^0.19.0", "@codemirror/comment": "^0.19.0", - "@codemirror/fold": "^0.19.0", "@codemirror/history": "^0.19.0", "@codemirror/language": "^0.19.0", "@codemirror/lint": "^0.19.0", diff --git a/src/basic-setup.ts b/src/basic-setup.ts index fabc6ff..533c3b8 100644 --- a/src/basic-setup.ts +++ b/src/basic-setup.ts @@ -3,8 +3,8 @@ import {keymap, highlightSpecialChars, drawSelection, highlightActiveLine, dropC lineNumbers, highlightActiveLineGutter} from "@codemirror/view" import {Extension, EditorState} from "@codemirror/state" import {history, historyKeymap} from "@codemirror/history" -import {foldGutter, foldKeymap} from "@codemirror/fold" -import {defaultHighlightStyle, syntaxHighlighting, indentOnInput, bracketMatching} from "@codemirror/language" +import {defaultHighlightStyle, syntaxHighlighting, indentOnInput, bracketMatching, + foldGutter, foldKeymap} from "@codemirror/language" import {defaultKeymap} from "@codemirror/commands" import {closeBrackets, closeBracketsKeymap} from "@codemirror/closebrackets" import {searchKeymap, highlightSelectionMatches} from "@codemirror/search"