updated collections export styles

This commit is contained in:
Gani Georgiev
2024-02-24 17:18:06 +02:00
parent 20fba0f686
commit 6132fb4a03
37 changed files with 109 additions and 92 deletions
@@ -365,6 +365,18 @@
addLabelListeners();
let keybindings = [
submitShortcut,
...closeBracketsKeymap,
...defaultKeymap,
searchKeymap.find((item) => item.key === "Mod-d"),
...historyKeymap,
...completionKeymap,
];
if (!singleLine) {
keybindings.push(indentWithTab);
}
editor = new EditorView({
parent: container,
state: EditorState.create({
@@ -381,15 +393,7 @@
closeBrackets(),
rectangularSelection(),
highlightSelectionMatches(),
keymap.of([
submitShortcut,
...closeBracketsKeymap,
...defaultKeymap,
searchKeymap.find((item) => item.key === "Mod-d"),
...historyKeymap,
...completionKeymap,
indentWithTab,
]),
keymap.of(keybindings),
EditorView.lineWrapping,
autocompletion({
override: [completions],