@@ -153,7 +153,11 @@ $variable.Name
153153" This is my $ ( $variable.Name ) !"
154154# <- punctuation.definition.string.begin.powershell string.quoted.double.powershell
155155# ^^^^^^^^^^ ^^ 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
157161# ^ punctuation.section.group.begin.powershell
158162# ^ punctuation.section.group.end.powershell
159163# ^^^^^^^^ variable.other.readwrite.powershell
@@ -372,7 +376,10 @@ $a3[1..2]
372376# ^^^^^^^^^^^^ string.quoted.double.powershell
373377 " $ ( Invoke-Something ) "
374378# ^ ^ 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
376383# ^ punctuation.section.group.begin.powershell
377384# ^ interpolated.complex.source.powershell support.function.powershell
378385# ^ punctuation.section.group.end.powershell
@@ -1183,7 +1190,7 @@ $file = join-path $env:SystemDrive "$([System.io.path]::GetRandomFileName()).ps1
11831190# ^ support.function.powershell
11841191# ^ support.variable.drive.powershell
11851192# ^ 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
11871194# ^ storage.type.powershell
11881195$ScriptBlock | Out-File $file - Force
11891196# <- punctuation.definition.variable.powershell
@@ -1217,7 +1224,8 @@ get-thing | Out-WithYou > $null # destroy
12171224# ^^ constant.character.escape.powershell
12181225# ^^ ^^ ^^ ^^ ^^ not:constant.character.escape.powershell
12191226" 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
12211229# ^ keyword.operator.other.powershell
12221230# ^ ^ meta.group.complex.subexpression.powershell punctuation.section.group.begin.powershell
12231231# ^ storage.type.powershell
0 commit comments