Skip to content

Commit 9b1808c

Browse files
committed
Move redirection operators to the top, so it applied before numeric rules
1 parent 5ec3261 commit 9b1808c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Support/PowershellSyntax.tmLanguage

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
</dict>
5757
</array>
5858
</dict>
59+
<dict>
60+
<key>match</key>
61+
<string>[2-6]&gt;&amp;1|&gt;&gt;|&gt;|&lt;&lt;|&lt;|&gt;|&gt;\||[1-6]&gt;|[1-6]&gt;&gt;</string>
62+
<key>name</key>
63+
<string>keyword.operator.redirection.powershell</string>
64+
</dict>
5965
<dict>
6066
<key>include</key>
6167
<string>#commands</string>
@@ -284,12 +290,6 @@
284290
<key>name</key>
285291
<string>keyword.operator.assignment.powershell</string>
286292
</dict>
287-
<dict>
288-
<key>match</key>
289-
<string>[2-6]&gt;&amp;1|&gt;&gt;|&gt;|&lt;&lt;|&lt;|&gt;|&gt;\||[1-6]&gt;|[1-6]&gt;&gt;</string>
290-
<key>name</key>
291-
<string>keyword.operator.redirection.powershell</string>
292-
</dict>
293293
<dict>
294294
<key>match</key>
295295
<string>\|{2}|&amp;{2}|;</string>

0 commit comments

Comments
 (0)