Skip to content

Commit 945aec7

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 945aec7

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 6 additions & 9 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>
@@ -1551,6 +1542,12 @@
15511542
<key>include</key>
15521543
<string>#doubleQuotedStringEscapes</string>
15531544
</dict>
1545+
<dict>
1546+
<key>match</key>
1547+
<string>""</string>
1548+
<key>name</key>
1549+
<string>constant.character.escape.powershell</string>
1550+
</dict>
15541551
<dict>
15551552
<key>include</key>
15561553
<string>#interpolation</string>

0 commit comments

Comments
 (0)