@@ -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
@@ -1204,7 +1211,7 @@ $file = join-path $env:SystemDrive "$([System.io.path]::GetRandomFileName()).ps1
12041211# ^ support.function.powershell
12051212# ^ support.variable.drive.powershell
12061213# ^ variable.other.readwrite.powershell
1207- # ^ string.quoted.double.powershell punctuation.definition.variable .powershell
1214+ # ^ string.quoted.double.powershell punctuation.definition.substatement.powershell punctuation.section.embedded.substatement.begin .powershell
12081215# ^ storage.type.powershell
12091216$ScriptBlock | Out-File $file - Force
12101217# <- punctuation.definition.variable.powershell
@@ -1238,7 +1245,8 @@ get-thing | Out-WithYou > $null # destroy
12381245# ^^ constant.character.escape.powershell
12391246# ^^ ^^ ^^ ^^ ^^ not:constant.character.escape.powershell
12401247" When you call a method: $ ( get-number | % { invoke-command $ ( [string ]::format(" Like (this{0})" , " what?" ) ) $var } ) "
1241- # ^ ^ punctuation.definition.variable.powershell
1248+ # ^ string.quoted.double.powershell punctuation.definition.substatement.powershell punctuation.section.embedded.substatement.begin.powershell
1249+ # ^ punctuation.definition.variable.powershell
12421250# ^ keyword.operator.other.powershell
12431251# ^ ^ meta.group.complex.subexpression.powershell punctuation.section.group.begin.powershell
12441252# ^ storage.type.powershell
0 commit comments