fix(editor): format keymap configuration
This commit is contained in:
1 parent
bdee3a843c
commit
c81466d0db
1 file changed
+1
-7
@@ -4876,13 +4876,7 @@ onMounted(async () => {
|
|||||||
activeLineHighlighter,
|
activeLineHighlighter,
|
||||||
// Vim must be mounted before DBX/default keymaps so normal-mode keys are handled first.
|
// Vim must be mounted before DBX/default keymaps so normal-mode keys are handled first.
|
||||||
vimModeComp.of(vimModeExtension(initialSettings.vimModeEnabled)),
|
vimModeComp.of(vimModeExtension(initialSettings.vimModeEnabled)),
|
||||||
keymap.of([
|
keymap.of([...defaultKeymap.filter((item) => item.run !== toggleBlockComment), ...searchKeymapWithoutModD(searchKeymap), ...historyKeymap, ...foldKeymap, ...completionKeymap]),
|
||||||
...defaultKeymap.filter((item) => item.run !== toggleBlockComment),
|
|
||||||
...searchKeymapWithoutModD(searchKeymap),
|
|
||||||
...historyKeymap,
|
|
||||||
...foldKeymap,
|
|
||||||
...completionKeymap,
|
|
||||||
]),
|
|
||||||
sqlLanguageComp.of(buildSqlLanguageExtension()),
|
sqlLanguageComp.of(buildSqlLanguageExtension()),
|
||||||
sqlSemanticHighlightComp.of(buildSqlSemanticHighlightExtension()),
|
sqlSemanticHighlightComp.of(buildSqlSemanticHighlightExtension()),
|
||||||
tooltips({ parent: tooltipParent }),
|
tooltips({ parent: tooltipParent }),
|
||||||
|
|||||||
Reference in new issue
Block a user