Skip to content

Commit c29e05b

Browse files
committed
Fixed attributes
1 parent a28e9e7 commit c29e05b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,12 @@ repository:
430430
match: (?i)(?<=^|:)\s*Rem\b.*
431431

432432
attribute:
433-
name: entity.other.attribute-name.vba
434-
match: (?i)^Attribute(.*)
433+
name: meta.attribute.vba
434+
match: (?i)^\s*(Attribute VB_\w+)\s+(.*)$
435435
captures:
436-
0:
436+
1:
437+
name: entity.other.attribute-name.vba
438+
2:
437439
patterns:
438440
- include: "#language"
439441

0 commit comments

Comments
 (0)