Skip to content

Commit 370d0c1

Browse files
committed
moves double-quote double-quote escape from #doubleQuotedStringEscapes to #doubleQuotedString. Removes the single-quote single-quote escape from single-quote here-string pattern.
1 parent 44eac87 commit 370d0c1

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,6 @@
162162
<string>^'@</string>
163163
<key>name</key>
164164
<string>string.quoted.single.heredoc.powershell</string>
165-
<key>patterns</key>
166-
<array>
167-
<dict>
168-
<key>match</key>
169-
<string>''</string>
170-
<key>name</key>
171-
<string>constant.character.escape.powershell</string>
172-
</dict>
173-
</array>
174165
</dict>
175166
<dict>
176167
<key>include</key>
@@ -601,12 +592,6 @@
601592
<key>include</key>
602593
<string>#unicodeEscape</string>
603594
</dict>
604-
<dict>
605-
<key>match</key>
606-
<string>""</string>
607-
<key>name</key>
608-
<string>constant.character.escape.powershell</string>
609-
</dict>
610595
</array>
611596
</dict>
612597
<key>unicodeEscape</key>
@@ -1551,6 +1536,12 @@
15511536
<key>include</key>
15521537
<string>#doubleQuotedStringEscapes</string>
15531538
</dict>
1539+
<dict>
1540+
<key>match</key>
1541+
<string>""</string>
1542+
<key>name</key>
1543+
<string>constant.character.escape.powershell</string>
1544+
</dict>
15541545
<dict>
15551546
<key>include</key>
15561547
<string>#interpolation</string>

0 commit comments

Comments
 (0)