@@ -125,6 +125,7 @@ syn region razorComment matchgroup=razorCommentStart start=/\%#=1@\*/ matchgroup
125
125
126
126
syn match razorIdentifier / \% #=1\K\k */ contained contains =razorType,razorcsKeywordError nextgroup =razorMemberOperator,razorInvocation,razorIndex
127
127
syn match razorMemberOperator / \% #=1?\=\. / contained nextgroup =razorIdentifier
128
+ syn match razorMemberOperator / \% #=1::/ contained nextgroup =razorIdentifier
128
129
syn region razorInvocation matchgroup =razorcsDelimiter start =/ \% #=1(/ end =/ \% #=1)/ contained contains =@razorcsRHS nextgroup =razorMemberOperator,razorInvocation,razorIndex
129
130
syn region razorIndex matchgroup =razorcsDelimiter start =/ \% #=1\[ / end =/ \% #=1]/ contained contains =@razorcsRHS nextgroup =razorMemberOperator,razorInvocation,razorIndex
130
131
syn keyword razorTypeof typeof contained nextgroup =razorInvocation
@@ -174,6 +175,7 @@ syn keyword razorUsingStatic static contained nextgroup=razorUsingIdentifier ski
174
175
syn region razorGuardedStatement matchgroup =razorDelimiter start =/ \% #=1(/ end =/ \% #=1)/ contained contains =@razorcs nextgroup =razorBlock skipwhite skipempty
175
176
syn match razorUsingIdentifier / \% #=1\K\k */ contained contains =razorcsKeywordError nextgroup =razorUsingOperator,razorUsingMemberOperator skipwhite
176
177
syn match razorUsingMemberOperator / \% #=1\. / contained nextgroup =razorUsingIdentifier
178
+ syn match razorUsingMemberOperator / \% #=1::/ contained nextgroup =razorUsingIdentifier
177
179
syn match razorUsingOperator / \% #=1=/ contained nextgroup =razorUsingIdentifier skipwhite skipempty
178
180
179
181
syn keyword razorTry try contained nextgroup =razorBlock skipwhite skipempty
@@ -189,15 +191,16 @@ syn keyword razorCode code contained nextgroup=razorcsTypeBlock skipwhite skipem
189
191
syn keyword razorFunctions functions contained nextgroup =razorcsTypeBlock skipwhite skipempty
190
192
191
193
syn keyword razorImplements implements contained nextgroup =razorTypeIdentifier skipwhite
192
- syn match razorTypeIdentifier / \% #=1\K\k *\% (\. \K\k *\) *\% (<.\{ -}>\)\= / contained contains =razorcsGeneric,razorcsKeywordError,razorExtraMemberOperator
194
+ syn match razorTypeIdentifier / \% #=1\K\k *\% (\% ( \.\| :: \) \K\k *\) *\% (<.\{ -}>\)\= / contained contains =razorcsGeneric,razorcsKeywordError,razorExtraMemberOperator
193
195
syn match razorExtraMemberOperator / \% #=1\. / contained
196
+ syn match razorExtraMemberOperator / \% #=1::/ contained
194
197
195
198
syn keyword razorInherits inherits contained nextgroup =razorTypeIdentifier skipwhite
196
199
197
200
syn keyword razorModel model contained nextgroup =razorTypeIdentifier skipwhite
198
201
199
202
syn keyword razorInject inject contained nextgroup =razorInjectIdentifier skipwhite
200
- syn match razorInjectIdentifier / \% #=1\K\k *\% (\. \K\k *\) *\% (<.\{ -}>\)\= / contained contains =razorcsGeneric,razorcsKeywordError,razorExtraMemberOperator nextgroup =razorInjectDeclarator skipwhite
203
+ syn match razorInjectIdentifier / \% #=1\K\k *\% (\% ( \.\| :: \) \K\k *\) *\% (<.\{ -}>\)\= / contained contains =razorcsGeneric,razorcsKeywordError,razorExtraMemberOperator nextgroup =razorInjectDeclarator skipwhite
201
204
syn match razorInjectDeclarator / \% #=1\K\k */ contained contains =razorcsKeywordError
202
205
203
206
syn keyword razorNamespace namespace contained nextgroup =razorIdentifier skipwhite
0 commit comments