@@ -379,21 +379,38 @@ $a3[1..2]
379
379
" This 'string' is nice."
380
380
# ^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double.powershell
381
381
382
- # Double quoted here-string
383
- @"
382
+ # Double quoted here-string, white space at end of start token allowed
383
+ @"
384
384
# <- string.quoted.double.heredoc.powershell
385
385
# <- string.quoted.double.heredoc.powershell
386
386
$This is a 'double quoted'
387
387
# <- punctuation.definition.variable.powershell
388
388
# ^ 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
390
391
There is no @platting here!
391
392
# ^ not:punctuation.definition.variable.powershell
392
393
# ^ not:variable.other.readwrite.powershell
393
394
"@
394
395
# <- string.quoted.double.heredoc.powershell
395
396
# <- string.quoted.double.heredoc.powershell
396
397
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
+
397
414
# Numeric constants
398
415
-3
399
416
# ^^ constant.numeric.integer.powershell
0 commit comments