Skip to content

Commit 83017a4

Browse files
Reenabling disabled languages (#122)
1 parent 4284d64 commit 83017a4

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v21.1.0
1+
v25.0.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "parse-tree",
33
"displayName": "Parse tree",
44
"description": "Access document syntax using tree-sitter",
5-
"version": "0.45.0",
5+
"version": "0.46.0",
66
"publisher": "pokey",
77
"repository": {
88
"type": "git",

src/extension.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ export function activate(context: vscode.ExtensionContext) {
8080
* https://github.com/cursorless-dev/vscode-parse-tree/issues/110
8181
*/
8282
const disabledLanguages = semver.gte(vscode.version, "1.98.0")
83-
? new Set([""])
84-
: // ? new Set(["latex", "swift"])
85-
null;
83+
? new Set(["latex", "swift"])
84+
: null;
8685

8786
const validateGetLanguage = (languageId: string) => {
8887
if (disabledLanguages?.has(languageId)) {

0 commit comments

Comments
 (0)