diff --git a/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts b/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts index 4d95cf6891..efca4e437b 100644 --- a/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts +++ b/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts @@ -74,14 +74,15 @@ export class KeyboardCommandHandler { performWrapActionOnTarget({ delimiter }: { delimiter: SurroundingPairName }) { const [left, right] = surroundingPairsDelimiters[delimiter]!; - this.targeted.performActionOnTarget((target) => ( - action: { + this.targeted.performActionOnTarget( + (target) => ({ name: "wrapWithPairedDelimiter", target, left, right, - }, - ), {exitCursorlessMode: false}); + }), + { exitCursorlessMode: false }, + ); } modifyTarget({ modifier }: { modifier: Modifier }) {