@@ -153,7 +153,11 @@ $variable.Name
153
153
" This is my $ ( $variable.Name ) !"
154
154
# <- punctuation.definition.string.begin.powershell string.quoted.double.powershell
155
155
# ^^^^^^^^^^ ^^ string.quoted.double.powershell
156
- # ^ ^ punctuation.definition.variable.powershell
156
+ # ^^ punctuation.section.embedded.substatement.begin.powershell
157
+ # ^ punctuation.section.embedded.substatement.end.powershell
158
+ # ^^^^^^^^^^^^^^^^^ meta.embedded.substatement.powershell
159
+ # ^ keyword.other.substatement.powershell
160
+ # ^ punctuation.definition.variable.powershell
157
161
# ^ punctuation.section.group.begin.powershell
158
162
# ^ punctuation.section.group.end.powershell
159
163
# ^^^^^^^^ variable.other.readwrite.powershell
@@ -372,7 +376,10 @@ $a3[1..2]
372
376
# ^^^^^^^^^^^^ string.quoted.double.powershell
373
377
" $ ( Invoke-Something ) "
374
378
# ^ ^ string.quoted.double.powershell
375
- # ^ punctuation.definition.variable.powershell
379
+ # ^^ punctuation.section.embedded.substatement.begin.powershell
380
+ # ^ punctuation.section.embedded.substatement.end.powershell
381
+ # ^^^^^^^^^^^^^^^^^^^ meta.embedded.substatement.powershell
382
+ # ^ keyword.other.substatement.powershell
376
383
# ^ punctuation.section.group.begin.powershell
377
384
# ^ interpolated.complex.source.powershell support.function.powershell
378
385
# ^ punctuation.section.group.end.powershell
@@ -1183,7 +1190,7 @@ $file = join-path $env:SystemDrive "$([System.io.path]::GetRandomFileName()).ps1
1183
1190
# ^ support.function.powershell
1184
1191
# ^ support.variable.drive.powershell
1185
1192
# ^ variable.other.readwrite.powershell
1186
- # ^ string.quoted.double.powershell punctuation.definition.variable .powershell
1193
+ # ^ string.quoted.double.powershell punctuation.definition.substatement.powershell punctuation.section.embedded.substatement.begin .powershell
1187
1194
# ^ storage.type.powershell
1188
1195
$ScriptBlock | Out-File $file - Force
1189
1196
# <- punctuation.definition.variable.powershell
@@ -1217,7 +1224,8 @@ get-thing | Out-WithYou > $null # destroy
1217
1224
# ^^ constant.character.escape.powershell
1218
1225
# ^^ ^^ ^^ ^^ ^^ not:constant.character.escape.powershell
1219
1226
" When you call a method: $ ( get-number | % { invoke-command $ ( [string ]::format(" Like (this{0})" , " what?" ) ) $var } ) "
1220
- # ^ ^ punctuation.definition.variable.powershell
1227
+ # ^ string.quoted.double.powershell punctuation.definition.substatement.powershell punctuation.section.embedded.substatement.begin.powershell
1228
+ # ^ punctuation.definition.variable.powershell
1221
1229
# ^ keyword.operator.other.powershell
1222
1230
# ^ ^ meta.group.complex.subexpression.powershell punctuation.section.group.begin.powershell
1223
1231
# ^ storage.type.powershell
0 commit comments