Skip to content

Commit 395f213

Browse files
committed
Include optional line number in Rem comment block
1 parent 12503c0 commit 395f213

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
@@ -423,7 +423,7 @@ repository:
423423
# The sub-pattern consumes the \n if preceded by line continuation.
424424
# Capturing it there prevents the end pattern being matched.
425425
name: comment.block.vba
426-
begin: (?i)(\s*'|(?<=^|:)\s*Rem\b).*\s_\s*
426+
begin: (?i)(\s*'|(?<=^\d*?|:)\s*Rem\b).*\s_\s*
427427
end: \n
428428
patterns:
429429
- include: "#lineContinuation"

0 commit comments

Comments
 (0)