Skip to content

Commit 34cbbb1

Browse files
update
1 parent c2f942b commit 34cbbb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cursorless-engine/src/scopeProviders/ScopeInfoProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,10 @@ function isLanguageSpecific(scopeType: ScopeType): boolean {
175175
case "customRegex":
176176
return false;
177177

178-
case "oneOf":
179178
case "contiguous":
179+
return isLanguageSpecific(scopeType.scopeType);
180+
181+
case "oneOf":
180182
throw Error(
181183
`Can't decide whether scope type ${JSON.stringify(
182184
scopeType,

0 commit comments

Comments
 (0)