We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18be731 commit d2b371cCopy full SHA for d2b371c
client/src/syntaxes/vba.tmLanguage.yaml
@@ -477,16 +477,19 @@ repository:
477
name: storage.type.enum.vba
478
479
enumMember:
480
- match: (?i)^\s*([a-z][a-z0-9_]*)(\s+=.*)?('.*)?$
+ match: (?i)^\s*([a-z][a-z0-9_]*)(?:\s+(=)\s+([^\n']*)\s+)?('.*)?$
481
captures:
482
1:
483
name: constant.numeric.enum.vba
484
2:
485
patterns:
486
- - include: "#language"
+ - include: "#operators"
487
3:
488
489
- - include: "#comment"
+ - include: "#language"
490
+ 4:
491
+ patterns:
492
+ - include: "#comments"
493
494
struct:
495
name: meta.struct.declaration.vba
0 commit comments