Skip to content

Commit 943d045

Browse files
committed
line separated args still not working
1 parent 46434dd commit 943d045

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ repository:
353353
repository:
354354
primativeType:
355355
name: support.type.primitive.vba
356-
match: (?i)(?<=\bAs)\s+(boolean|byte|currency|date|decimal|double|integer|long(long|ptr)?|single|string|variant)\b
356+
match: (?i)(?<=\bAs)(?:\s+|\s+_\s*\n)+(boolean|byte|currency|date|decimal|double|integer|long(long|ptr)?|single|string|variant)\b
357357
objectType:
358358
name: support.type.object.vba
359-
match: (?i)(?<=\bAs)(\s+New)?\s+([A-Z][A-Z0-9_]*)\b
359+
match: (?i)(?<=\bAs)((?:\s+(?:\s*_\s*\n)*)New)?(?:\s+(?:\s*_\s*\n)*)([A-Z][A-Z0-9_]*)\b
360360
captures:
361361
1:
362362
name: keyword.storage.new.vba

0 commit comments

Comments
 (0)