diff options
author | Minteck <contact@minteck.org> | 2022-12-06 08:37:31 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-12-06 08:37:31 +0100 |
commit | 244b4a88ed9e63dd9b6a8b6eea3ac7d1ad339ea6 (patch) | |
tree | ab75aff31f26c4259e8a98fed41fb3660450ead5 | |
parent | 63a7a25e0b843b89c0530685e503dfc2a47fd016 (diff) | |
download | wing-creator-244b4a88ed9e63dd9b6a8b6eea3ac7d1ad339ea6.tar.gz wing-creator-244b4a88ed9e63dd9b6a8b6eea3ac7d1ad339ea6.tar.bz2 wing-creator-244b4a88ed9e63dd9b6a8b6eea3ac7d1ad339ea6.zip |
Events
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | language-configuration.json | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | syntaxes/wing.tmLanguage.json | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4756f17..dbe2e10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.2 + +- Add support for events introduced in build 9.5 + ## 1.1.1 - Bug fixes diff --git a/language-configuration.json b/language-configuration.json index a5ffc97..15212db 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -3,7 +3,7 @@ "lineComment": "--" }, "indentationRules": { - "increaseIndentPattern": "^ *(if|function|foreach)( (.*)|)$", + "increaseIndentPattern": "^ *(if|function|on|foreach)( (.*)|)$", "decreaseIndentPattern": "^ *(else( .*|)|end)$" } }
\ No newline at end of file diff --git a/package.json b/package.json index 77b8fd7..f163536 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "wing", "displayName": "Wing Creator", "description": "An all-in-one toolkit to develop with the Wing Programming Language", - "version": "1.1.1", + "version": "1.1.2", "repository": "https://git.equestria.dev/equestria.dev/wing-creator/", "license": "MIT", "icon": "icons/wing.png", diff --git a/syntaxes/wing.tmLanguage.json b/syntaxes/wing.tmLanguage.json index 64e64ea..23c8aea 100644 --- a/syntaxes/wing.tmLanguage.json +++ b/syntaxes/wing.tmLanguage.json @@ -14,7 +14,7 @@ "patterns": [ { "name": "entity.name.function", - "match": "(?<=\\b(function|if) )([a-zA-Z0-9-_]+)" + "match": "(?<=\\b(function|on|emit|if) )([a-zA-Z0-9-_]+)" }, { "name": "entity.name.function", @@ -26,7 +26,7 @@ }, { "name": "keyword.control", - "match": "\\b(if|else|foreach|do|end)( +do\\b|)" + "match": "\\b(if|else|on|foreach|do|end)( +do\\b|)" }, { "name": "variable.language", |