Skip to content

Commit 396d762

Browse files
Added dummy legacy language id
1 parent 87b7f3c commit 396d762

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/cursorless-engine/src/languages/LegacyLanguageId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
* The language IDs that we have full tree-sitter support for using our legacy
33
* modifiers.
44
*/
5-
export const legacyLanguageIds = [] as const;
5+
export const legacyLanguageIds = [""] as const;
66

77
export type LegacyLanguageId = (typeof legacyLanguageIds)[number];

packages/cursorless-engine/src/languages/getNodeMatcher.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ export function getNodeMatcher(
3737
export const languageMatchers: Record<
3838
LegacyLanguageId,
3939
Partial<Record<SimpleScopeTypeType, NodeMatcher>>
40-
> = {};
40+
> = {
41+
"": {},
42+
};
4143

4244
function matcherIncludeSiblings(matcher: NodeMatcher): NodeMatcher {
4345
return (

0 commit comments

Comments
 (0)