Skip to content

Commit 85d979d

Browse files
committed
fixes #14
1 parent 97191b9 commit 85d979d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ZenScript.source.sublime-syntax

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ contexts:
1717

1818
brackets:
1919
- comment: items and blocks
20-
match: (<)(.*?):(.*?)(:(\*|\d+)?)?(>)
20+
match: <((.*?):(.*?)(:(\*|\d+)?))|(\*)>
2121
scope: keyword.other.zs
2222
captures:
2323
2: entity.name.zs
2424
3: variable.parameter.zs
2525
5: constant.numeric.zs
26+
6: constant.numeric.zs
2627

2728
class:
2829
- comment: class

ZenScript.sublime-syntax

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ contexts:
1717

1818
brackets:
1919
- comment: items and blocks
20-
match: (<)(.*?):(.*?)(:(\*|\d+)?)?(>)
20+
match: <((.*?):(.*?)(:(\*|\d+)?))|(\*)>
2121
scope: keyword.other.zs
2222
captures:
2323
2: entity.name.zs
2424
3: variable.parameter.zs
2525
5: constant.numeric.zs
26+
6: constant.numeric.zs
2627

2728
class:
2829
- comment: class

0 commit comments

Comments
 (0)