Skip to content

Commit bebf6d1

Browse files
author
Bobby Crotty
committed
Fix Range Operator not allowing surrounding spaces or trailing .
1 parent 84fd972 commit bebf6d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Support/PowershellSyntax.tmLanguage

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,8 @@
324324
<string>keyword.operator.other.powershell</string>
325325
</dict>
326326
<dict>
327-
<key>comment</key>
328-
<string>This is very imprecise, is there a syntax for 'must come after...' </string>
329327
<key>match</key>
330-
<string>(?&lt;!\s|^)\.\.(?=\d|\(|\$)</string>
328+
<string>\.\.</string>
331329
<key>name</key>
332330
<string>keyword.operator.range.powershell</string>
333331
</dict>

0 commit comments

Comments
 (0)