Skip to content

Commit 6d1ef7c

Browse files
authored
Merge branch 'master' into FullStatmentSyntaxing
2 parents db3ead4 + cf27d6e commit 6d1ef7c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec/testfiles/syntax_test_TheBigTestFile.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ $variable.Name
173173
# ^^^^^^^^^^^^ variable.other.readwrite.powershell
174174
# ^ punctuation.definition.string.end.powershell
175175

176+
# @splat references only work in argument mode, should not highlight in strings
177+
"This is a @double quoted string."
178+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double.powershell
179+
# ^ not:punctuation.definition.variable.powershell
180+
# ^ not:variable.other.readwrite.powershell
181+
176182
# Single quotes string
177183
'This is a string'
178184
# <- punctuation.definition.string.begin.powershell string.quoted.single.powershell
@@ -369,6 +375,9 @@ $This is a 'double quoted'
369375
# <- punctuation.definition.variable.powershell
370376
# ^ string.quoted.double.heredoc.powershell support.variable.automatic.powershell
371377
Isn't it "nice"??
378+
There is no @platting here!
379+
# ^ not:punctuation.definition.variable.powershell
380+
# ^ not:variable.other.readwrite.powershell
372381
"@
373382
# <- string.quoted.double.heredoc.powershell
374383
# <- string.quoted.double.heredoc.powershell

0 commit comments

Comments
 (0)