Skip to content

Commit bb30e7d

Browse files
committed
Bug fix word endings
1 parent 3f3b95d commit bb30e7d

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
@@ -895,7 +895,7 @@ repository:
895895

896896
variableDeclarationDim:
897897
name: meta.declare.variable.vba
898-
begin: (?i)dim
898+
begin: (?i)dim(?=\s)
899899
end: (?=[':\n])
900900
beginCaptures:
901901
0:
@@ -907,7 +907,7 @@ repository:
907907

908908
variableDeclarationConst:
909909
name: meta.declare.constant.vba
910-
begin: (?i)const
910+
begin: (?i)const(?=\s)
911911
end: (?=[':\n])
912912
beginCaptures:
913913
0:

0 commit comments

Comments
 (0)