Skip to content

Commit 3e30aeb

Browse files
committed
add support for optional comma
1 parent 8a53564 commit 3e30aeb

6 files changed

Lines changed: 12 additions & 9 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.38
4+
- add support for optional comma in list and map
5+
36
# 0.0.37
47
- downgrade vscode version requirement to allow running the extension on Cursor
58

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.37",
6+
"version": "0.0.38",
77
"publisher": "MagnusOpera",
88
"license": "FSL-1.1-Apache-2.0",
99
"repository": {

syntaxes/terrabuild-lang.tmLanguage.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"begin": "\\[",
4545
"end": "\\]",
4646
"patterns": [
47+
{ "name": "punctuation.separator.sequence", "match": "," },
4748
{ "include": "#expression" }
4849
]
4950
}
@@ -58,6 +59,7 @@
5859
"patterns": [
5960
{ "name": "variable.other.constant", "match": "\\b(\\^?[a-z](_?[a-z0-9]+)*)\\b(?=\\s*:)" },
6061
{ "name": "punctuation.separator.key-value", "match": ":" },
62+
{ "name": "punctuation.separator.sequence", "match": "," },
6163
{ "include": "#expression" }
6264
]
6365
}

tests/PROJECT

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# project with id
22
project api {
33
# project definition
4-
depends_on = [ project.libs
5-
project.security ]
4+
depends_on = [ project.libs, project.security ]
65
dependencies = [ "../other/project" ]
76
outputs = [ "**/a.out" ]
87
ignores = [ "**/*.obj" ]
9-
includes = [ "**/*.cpp"
10-
"**/*.h" ]
8+
includes = [ "**/*.cpp", "**/*.h" ]
119
labels = [ "app" ]
1210

1311
unknown = "toto"

tests/WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ locals {
6868
}
6969

7070
docker_tags = {
71-
dotnet_sdk: "9.0.300" # https://mcr.microsoft.com/artifact/mar/dotnet/sdk/tags
72-
dotnet_runtime: "9.0.5" # https://mcr.microsoft.com/artifact/mar/dotnet/runtime/tags
71+
dotnet_sdk: "9.0.300", # https://mcr.microsoft.com/artifact/mar/dotnet/sdk/tags
72+
dotnet_runtime: "9.0.5", # https://mcr.microsoft.com/artifact/mar/dotnet/runtime/tags
7373
nodejs: "22.16.0-alpine3.22" # https://hub.docker.com/_/node/tags
7474
nginx: "1.28.0-alpine" # https://hub.docker.com/_/nginx/tags
7575
openapi: "v7.13.0" # https://hub.docker.com/r/openapitools/openapi-generator-cli/tags

0 commit comments

Comments
 (0)