Skip to content

Commit ab5794d

Browse files
committed
add support for version attribute
1 parent 3782305 commit ab5794d

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
# 0.0.22
4+
- add support for `version` attribute
5+
36
# 0.0.21
47
- add support for `ephemeral` attribute and remove `managed`
58

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "terrabuild",
44
"displayName": "Terrabuild",
55
"description": "Syntax highlighting for Terrabuild",
6-
"version": "0.0.21",
6+
"version": "0.0.22",
77
"publisher": "MagnusOpera",
88
"license": "FSL-1.1-Apache-2.0",
99
"repository": {

syntaxes/terrabuild-workspace.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"patterns": [
8181
{
8282
"name": "meta.assignment.workspace",
83-
"begin": "\\b(id|ignores)\\b(?=\\s*=)",
83+
"begin": "\\b(id|ignores|version)\\b(?=\\s*=)",
8484
"beginCaptures": {
8585
"1": { "name": "keyword.control" }
8686
},

tests/WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
workspace {
44
# workspace definition
55
id = "12334567abcd"
6+
ignores = [ "obj/**" ]
7+
version = "~0.157.0"
68

79
unknown = "toto"
810
}

0 commit comments

Comments
 (0)