diff --git a/web/editor_state.ts b/web/editor_state.ts index 87eef9a4..835bd06d 100644 --- a/web/editor_state.ts +++ b/web/editor_state.ts @@ -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, ]); }