diff --git a/CHANGELOG.md b/CHANGELOG.md index 77caf47..9175734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the "vscode-solidity-language" extension will be documented in this file. +## v0.0.7 + +- new: add highlighting for `immutable` (safe keywords; green) + ## v0.0.6 - fix: match ucase const - #1 diff --git a/package.json b/package.json index 236f33e..aad8a0a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "publisher": "tintinweb", "icon": "images/icon.png", "preview": true, - "version": "0.0.6", + "version": "0.0.7", "engines": { "vscode": "^1.60.0" }, @@ -79,6 +79,6 @@ ] }, "devDependencies": { - "@vscode/test-web": "^0.0.15" + "@vscode/test-web": "^0.0.34" } } diff --git a/src/syntaxes/solidity.tmLanguage.json b/src/syntaxes/solidity.tmLanguage.json index f2dcdeb..85200ba 100644 --- a/src/syntaxes/solidity.tmLanguage.json +++ b/src/syntaxes/solidity.tmLanguage.json @@ -574,7 +574,7 @@ "declaration-visibility": { "patterns": [ { - "match": "\\b(private|internal|constant|pure|view|nonpayable|indexed)\\b", + "match": "\\b(private|internal|constant|immutable|pure|view|nonpayable|indexed)\\b", "name": "storage.type.modifier.keyword.solidity" }, {