@@ -1138,7 +1138,7 @@ contexts:
1138
1138
1139
1139
tag-in-script-cf :
1140
1140
- match : |-
1141
- (?x)(?i)( cf(?:ajaximport|ajaxproxy|applet|application|argument|associate|break|cache|calendar|chart
1141
+ (?x)(?i)cf(?:ajaximport|ajaxproxy|applet|application|argument|associate|break|cache|calendar|chart
1142
1142
|chartdata|chartseries|client|clientsettings|col|collection|content|cookie|dbinfo
1143
1143
|directory|div|document|documentitem|documentsection|dump|error|exchangecalendar
1144
1144
|exchangeconnection|exchangecontact|exchangefilter|exchangemail|exchangetask|execute
@@ -1152,14 +1152,20 @@ contexts:
1152
1152
|queryparam|registry|report|reportparam|savecontent|schedule|search|select|setting
1153
1153
|sharepoint|silent|slider|spreadsheet|sprydataset|storedproc|table|textarea|textinput
1154
1154
|thread|throw|timer|tooltip|trace|transaction|tree|treeitem|update|wddx|websocket
1155
- |window|xml|zip|zipparam))\(
1156
- captures:
1157
- 1: entity.name.tag.script.cfml
1155
+ |window|xml|zip|zipparam)(?=\()
1156
+ scope: entity.name.tag.script.cfml
1158
1157
push:
1159
- - meta_scope: meta.tag.script.cf.cfml
1160
- - match: \)
1161
- pop: true
1162
- - include: tag-generic-attribute-cf-script
1158
+ - - meta_scope: meta.tag.script.cf.cfml
1159
+ - include: immediately-pop
1160
+ - - match: \(
1161
+ scope: punctuation.section.group.begin.cfml
1162
+ set:
1163
+ - meta_scope: meta.tag.script.cf.attributes.cfml
1164
+ - match: \)
1165
+ scope: punctuation.section.group.end.cfml
1166
+ pop: true
1167
+ - include: tag-generic-attribute-cf-script
1168
+ - include: else-pop
1163
1169
1164
1170
tag-generic-attribute-cf-script :
1165
1171
- match : ' ,'
@@ -1372,3 +1378,4 @@ contexts:
1372
1378
angle-bracket-pop :
1373
1379
- match : (?=/?>)
1374
1380
pop : true
1381
+
0 commit comments