@@ -379,21 +379,38 @@ $a3[1..2]
379379 " This 'string' is nice."
380380# ^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double.powershell
381381
382- # Double quoted here-string
383- @"
382+ # Double quoted here-string, white space at end of start token allowed
383+ @"
384384# <- string.quoted.double.heredoc.powershell
385385 # <- string.quoted.double.heredoc.powershell
386386$This is a 'double quoted'
387387# <- punctuation.definition.variable.powershell
388388# ^ string.quoted.double.heredoc.powershell support.variable.automatic.powershell
389- Isn't it "nice"??
389+ Isn't it ""nice""??
390+ # ^^ not:constant.character.escape.powershell
390391There is no @platting here!
391392# ^ not:punctuation.definition.variable.powershell
392393# ^ not:variable.other.readwrite.powershell
393394"@
394395# <- string.quoted.double.heredoc.powershell
395396 # <- string.quoted.double.heredoc.powershell
396397
398+ # Single quoted here-string, white space at end of start token allowed
399+ @'
400+ # <- string.quoted.single.heredoc.powershell
401+ # <- string.quoted.single.heredoc.powershell
402+ $This is a ''single quoted''
403+ # ^^ not:constant.character.escape.powershell
404+ # <- not:punctuation.definition.variable.powershell
405+ # ^ string.quoted.single.heredoc.powershell not:support.variable.automatic.powershell
406+ Isn't it "nice"??
407+ There is no @platting here!
408+ # ^ not:punctuation.definition.variable.powershell
409+ # ^ not:variable.other.readwrite.powershell
410+ '@
411+ # <- string.quoted.single.heredoc.powershell
412+ # <- string.quoted.single.heredoc.powershell
413+
397414# Numeric constants
398415 -3
399416# ^^ constant.numeric.integer.powershell
0 commit comments