fix: async

This commit is contained in:
Artemy 2023-12-29 14:18:15 +03:00
parent 341938d55a
commit 2bfeb03382
3 changed files with 10 additions and 2 deletions

View file

@ -6,6 +6,10 @@ All notable changes to the "symboscript-vs" extension will be documented in this
- Nothing - Nothing
## [0.1.3] - 2023-12-29
- fix syntax highlighting (async)
## [0.1.2] - 2023-12-29 ## [0.1.2] - 2023-12-29
- fix syntax highlighting (variables) - fix syntax highlighting (variables)

View file

@ -2,7 +2,7 @@
"name": "symboscript-vs", "name": "symboscript-vs",
"displayName": "SymboScript-vs", "displayName": "SymboScript-vs",
"description": "Official language support for SymboScrypt", "description": "Official language support for SymboScrypt",
"version": "0.1.2", "version": "0.1.3",
"publisher": "symboscript", "publisher": "symboscript",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

View file

@ -76,7 +76,7 @@
"patterns": [ "patterns": [
{ {
"name": "keyword.control.symboscript", "name": "keyword.control.symboscript",
"match": "\\b(if|else|while|for|loop|return|yield|async|await|break|continue|in)\\b" "match": "\\b(if|else|while|for|loop|return|yield|await|break|continue|in)\\b"
}, },
{ {
"name": "keyword.other.fn.symboscript", "name": "keyword.other.fn.symboscript",
@ -86,6 +86,10 @@
"name": "keyword.other.let.symboscript", "name": "keyword.other.let.symboscript",
"match": "\\b(let)\\b" "match": "\\b(let)\\b"
}, },
{
"name": "keyword.other.async.symboscript",
"match": "\\b(async)\\b"
},
{ {
"name": "keyword.other.bool.symboscript", "name": "keyword.other.bool.symboscript",
"match": "\\b(true|false)\\b" "match": "\\b(true|false)\\b"