mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-28 23:08:12 +00:00
proper use of tab
This commit is contained in:
@@ -165,7 +165,7 @@ const CodeEditor = forwardRef(
|
||||
|
||||
return [
|
||||
history(),
|
||||
keymap.of([...defaultKeymap, customKeymap, foldKeymap, ...searchKeymap]),
|
||||
|
||||
updateListener,
|
||||
EditorView.lineWrapping,
|
||||
scrollPastEnd(),
|
||||
@@ -186,6 +186,8 @@ const CodeEditor = forwardRef(
|
||||
themeCompartment.of(themeExtension),
|
||||
...(tab !== 'brewStyles' ? [autocompleteEmoji] : []),
|
||||
search(),
|
||||
keymap.of([...defaultKeymap, foldKeymap, ...searchKeymap]),
|
||||
customKeymap
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user