Skip to content

Commit baf28b0

Browse files
committed
Separator pattern
1 parent 72e11cf commit baf28b0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,8 @@ repository:
396396
match: (?i)(?:(,)|(=)|(\s*_\s*\n)|(as\s+(?:\s*_\s*\n)*[a-z][a-z0-9_.]*)|(".*"|True|False|\d+(?:\.\d+)?[%&@!#$]?)|([a-z][a-z0-9_.]*[%&@!#$]?(?:\(\))?))
397397
captures:
398398
1: # ,
399-
name: punctuation.separator.vba
399+
patterns:
400+
- include: "#separator"
400401
2: # =
401402
name: keyword.operator.assignment.vba
402403
3: # _
@@ -757,9 +758,9 @@ repository:
757758
patterns:
758759
- include: "#block"
759760

760-
# blockAttribute:
761-
# patterns:
762-
# - include: "#attribute"
761+
separator:
762+
name: punctuation.separator.vba
763+
match: ','
763764

764765
variableDeclarations:
765766
patterns:

0 commit comments

Comments
 (0)