diff --git a/.vscode/launch.json b/.vscode/launch.json index 56afa21..81a2f4d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -15,4 +15,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aae38b..4bde225 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +### 1.0.7 | 2021-04-07 [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Tchoupinax/vsextensions/tilt/1.0.7/vspackage) | [open-vsx.org](https://open-vsx.org/extension/Tchoupinax/tilt) + +- Add syntax color for double quoted string + ### 1.0.6 | 2021-01-12 [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/Tchoupinax/vsextensions/tilt/1.0.6/vspackage) | [open-vsx.org](https://open-vsx.org/extension/Tchoupinax/tilt) - Rename LICENCE.md to LICENSE.md diff --git a/package.json b/package.json index 21c5d49..352beef 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Tchoupinax ", "publisher": "Tchoupinax", "icon": "assets/tilt.png", - "version": "1.0.6", + "version": "1.0.7", "engines": { "vscode": "^1.35.0" }, diff --git a/syntaxes/.tmLanguage.json b/syntaxes/.tmLanguage.json index b0f1439..ebe1058 100644 --- a/syntaxes/.tmLanguage.json +++ b/syntaxes/.tmLanguage.json @@ -6,7 +6,10 @@ "include": "#keywords" }, { - "include": "#strings" + "include": "#strings-single-quote" + }, + { + "include": "#strings-double-quote" }, { "include": "#comments" @@ -49,7 +52,7 @@ } ] }, - "strings": { + "strings-single-quote": { "name": "string.quoted", "begin": "'", "end": "'", @@ -65,6 +68,22 @@ } ] }, + "strings-double-quote": { + "name": "string.quoted", + "begin": "\"", + "end": "\"", + "captures": { + "0": { + "name": "string.quoted.single" + } + }, + "patterns": [ + { + "name": "constant.character.escape.osef", + "match": "\\\\." + } + ] + }, "comments": { "name": "comment", "begin": "#",