Allow tab press to autocomplete (#1150)
parent
6ba28e0a95
commit
3132d9e9f2
|
@ -7,6 +7,7 @@ import {
|
|||
standardKeymap,
|
||||
} from "@codemirror/commands";
|
||||
import {
|
||||
acceptCompletion,
|
||||
autocompletion,
|
||||
closeBrackets,
|
||||
closeBracketsKeymap,
|
||||
|
@ -381,6 +382,7 @@ export function createKeyBindings(client: Client): Extension {
|
|||
]
|
||||
: standardKeymap,
|
||||
...completionKeymap,
|
||||
{ key: "Tab", run: acceptCompletion },
|
||||
indentWithTab,
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue