Skip to content

Commit 18be731

Browse files
committed
Variable assignment now works in With block
1 parent 89c4988 commit 18be731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ repository:
665665
# TODO: Redo this so it can take into account chaining, e.g.:
666666
# MyClass.MyProp = SomeObject.Foo(20)
667667
variableAssignment:
668-
match: (?i)((Get|Let|Set)\s+)?([a-z][a-z0-9._]*)(\s*=\s*)(.*)
668+
match: (?i)((Get|Let|Set)\s+)?([a-z.][a-z0-9._]*)(\s*=\s*)(.*)
669669
captures:
670670
2:
671671
name: keyword.control.vba

0 commit comments

Comments
 (0)