Skip to content

Commit 1ca51b3

Browse files
authored
remove extra legacy language ids (#2372)
## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent 964a55c commit 1ca51b3

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

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

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@
33
* modifiers.
44
*/
55
export const legacyLanguageIds = [
6-
"c",
76
"clojure",
8-
"cpp",
97
"csharp",
108
"css",
119
"go",
12-
"html",
13-
"java",
14-
"javascript",
15-
"javascriptreact",
16-
"json",
17-
"jsonc",
1810
"latex",
1911
"markdown",
2012
"php",
@@ -23,9 +15,6 @@ export const legacyLanguageIds = [
2315
"rust",
2416
"scala",
2517
"scss",
26-
"typescript",
27-
"typescriptreact",
28-
"xml",
29-
];
18+
] as const;
3019

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

0 commit comments

Comments
 (0)