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 5dab85c commit c13ab0eCopy full SHA for c13ab0e
syntaxes/vba.tmGrammar.yml
@@ -45,7 +45,7 @@ repository:
45
46
functions:
47
name: entity.name.function.vba
48
- match: (?i:\b(?<=(Call|Function|Sub)\s)[a-zA-Z][a-zA-Z0-9_]*\b)(?=\(\)?)
+ match: (?i:\b(?:(?<=Call )|(?<=Function )|(?<=Sub ))[a-zA-Z][a-zA-Z0-9_]*\b)(?=\(\)?)
49
50
numbers:
51
patterns:
@@ -72,7 +72,7 @@ repository:
72
73
- name: support.type.builtin.vba
74
match: (?i)\b(Any|Byte|Boolean|Currency|Collection|Date|Double|Integer|Long(Long|Ptr)?|Object|Single|String|Variant)\b
75
- - match: (?i)(?<=\s+As\s+)([a-zA-Z]+)
+ - match: (?i)(?<= As )([a-zA-Z]+)
76
captures:
77
1:
78
name: support.type
0 commit comments