Skip to content

Commit 2f400dd

Browse files
author
Bobby Crotty
committed
Fix #84 Logical operator syntax incorrectly allows letters to follow
1 parent 998d010 commit 2f400dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Support/PowershellSyntax.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
</dict>
235235
<dict>
236236
<key>match</key>
237-
<string>(?&lt;!\w)-([ci]?[lg][te]|eq|ne)</string>
237+
<string>(?&lt;!\w)-([ci]?[lg][te]|eq|ne)(?!\p{L})</string>
238238
<key>name</key>
239239
<string>keyword.operator.logical.powershell</string>
240240
</dict>

0 commit comments

Comments
 (0)