Skip to content

Commit

Permalink
Fix 'catch' and 'do' keyword highlighting in VS Code 1.78+ (#213)
Browse files Browse the repository at this point in the history
* Fix 'catch' and 'do' keywords in VS Code 1.78

* 0.12.2
  • Loading branch information
rvanasa authored May 19, 2023
1 parent edfc051 commit a66f613
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
9 changes: 0 additions & 9 deletions syntaxes/Major.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,6 @@
</dict>
</array>
</dict>
<key>catch-statement-keyword</key>
<dict>
<key>comment</key>
<string>catch-statement</string>
<key>match</key>
<string>\b(catch|do)\b</string>
<key>name</key>
<string>kewyord.control.catch.motoko</string>
</dict>
<key>code-block</key>
<dict>
<key>begin</key>
Expand Down

0 comments on commit a66f613

Please sign in to comment.