diff --git a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/CollectionItemScopeHandler/CollectionItemScopeHandler.ts b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/CollectionItemScopeHandler/CollectionItemScopeHandler.ts index 33c45af2db..c2780c6fea 100644 --- a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/CollectionItemScopeHandler/CollectionItemScopeHandler.ts +++ b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/CollectionItemScopeHandler/CollectionItemScopeHandler.ts @@ -51,11 +51,11 @@ export class CollectionItemScopeHandler extends BaseScopeHandler { { type: "oneOf", scopeTypes: [ - textualScopeHandler.scopeType, languageScopeHandler.scopeType, + textualScopeHandler.scopeType, ], }, - [textualScopeHandler, languageScopeHandler], + [languageScopeHandler, textualScopeHandler], languageId, ); })();