From a66f61340e0a2e6c684d1093418ff3635d3cc328 Mon Sep 17 00:00:00 2001 From: Ryan Vandersmith Date: Fri, 19 May 2023 12:17:22 -0600 Subject: [PATCH] Fix 'catch' and 'do' keyword highlighting in VS Code 1.78+ (#213) * Fix 'catch' and 'do' keywords in VS Code 1.78 * 0.12.2 --- package-lock.json | 4 ++-- package.json | 2 +- syntaxes/Major.tmLanguage | 9 --------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 38305a3..25fa236 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-motoko", - "version": "0.12.1", + "version": "0.12.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-motoko", - "version": "0.12.1", + "version": "0.12.2", "dependencies": { "@wasmer/wasi": "1.2.2", "change-case": "4.1.2", diff --git a/package.json b/package.json index d8beb4d..db94ad8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-motoko", "displayName": "Motoko", "description": "Motoko language support", - "version": "0.12.1", + "version": "0.12.2", "publisher": "dfinity-foundation", "repository": "https://github.com/dfinity/vscode-motoko", "engines": { diff --git a/syntaxes/Major.tmLanguage b/syntaxes/Major.tmLanguage index a32505d..23e1d79 100644 --- a/syntaxes/Major.tmLanguage +++ b/syntaxes/Major.tmLanguage @@ -242,15 +242,6 @@ - catch-statement-keyword - - comment - catch-statement - match - \b(catch|do)\b - name - kewyord.control.catch.motoko - code-block begin