Skip to content

Commit 136ab54

Browse files
authored
Fix #68 (#70)
1 parent 063a086 commit 136ab54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/vba.tmGrammar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repository:
3737
- name: keyword.control.vba
3838
match: (?i:(\b(Exit (Function|Property|Sub)|As|And|By(Ref|Val)|Goto|Is|Like|Mod|Not|On Error|Optional|Or|Resume Next|Stop|Xor|Eqv|Imp|TypeOf|AddressOf)\b)|(\b(End)\b(?=\n)))
3939
- name: keyword.other.vba
40-
match: (?i:\b(Attribute|Call|End (Function|Property|Sub|Type)|(Static )?(Const|Function|Property|Sub|Type)|Declare|PtrSafe|WithEvents|Event|RaiseEvent)\b)
40+
match: (?i:\b(Attribute|Call|End (Function|Property|Sub|Type|Enum)|(Static )?(Const|Function|Property|Sub|Type|Enum)|Declare|PtrSafe|WithEvents|Event|RaiseEvent)\b)
4141
- name: keyword.other.visibility.vba
4242
match: (?i:\b(Private|Public|Friend)\b)
4343
- name: constant.language.vba

0 commit comments

Comments
 (0)