File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed
Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Private WithEvents app As Outlook.Application
136136Event LogonCompleted(UserName as String )
137137' <----- keyword.other.vba
138138
139- Sub Logon
139+ Sub Logon ()
140140 RaiseEvent LogonCompleted ("AntoineJan" )
141141' ^^^^^^^^^^ keyword.other.vba
142142End Sub
Original file line number Diff line number Diff line change @@ -50,3 +50,7 @@ End Function
5050Call mSub ()
5151' <---- keyword.other.vba
5252' ^^^^ entity.name.function.vba
53+
54+ Call SubWithNoArgs
55+ ' <---- keyword.other.vba
56+ ' ^^^^^^^^^^^^^ entity.name.function.vba
Original file line number Diff line number Diff line change @@ -39,9 +39,16 @@ repository:
3939 match : ^.*
4040
4141 functions :
42- name : entity.name.function.vba
43- match : (?i:\b(?:(?<=(Call|Function|Sub) ))([a-zA-Z][a-zA-Z0-9_]*)\b)(?=\(\)?)
44-
42+ name : testing.vba
43+ begin : (?i:\b(Call|Function|Sub) )
44+ beginCaptures :
45+ 1 :
46+ name : keyword.other.vba
47+ patterns :
48+ - name : entity.name.function.vba
49+ match : (?i:\b([a-zA-Z][a-zA-Z0-9_]*)\b)
50+ end : \(|(?=\n)
51+
4552 keywords :
4653 patterns :
4754 - name : keyword.conditional.vba
You can’t perform that action at this time.
0 commit comments