Skip to content

Commit ffcf7e5

Browse files
committed
fix
1 parent 2494110 commit ffcf7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cm/baseExtensions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { closeBrackets } from "@codemirror/autocomplete";
1+
import { closeBrackets, completionKeymap } from "@codemirror/autocomplete";
22
import { defaultKeymap, history, historyKeymap } from "@codemirror/commands";
33
import {
44
bracketMatching,
@@ -41,6 +41,6 @@ export default function createBaseExtensions() {
4141
crosshairCursor(),
4242
highlightActiveLine(),
4343
highlightSelectionMatches(),
44-
keymap.of([...defaultKeymap, ...historyKeymap]),
44+
keymap.of([...completionKeymap, ...defaultKeymap, ...historyKeymap]),
4545
];
4646
}

0 commit comments

Comments
 (0)