Skip to content

Commit 3a05c40

Browse files
committed
Move ! to symbol operators
1 parent a1b5619 commit 3a05c40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PowerShell.sublime-syntax

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ contexts:
353353
scope: keyword.operator.logical.powershell
354354
captures:
355355
1: punctuation.definition.keyword.powershell
356-
- match: \B(-)(?i:and|or|not|xor){{kebab_break}}|! # <-- note `!`
356+
- match: \B(-)(?i:and|or|not|xor){{kebab_break}}
357357
scope: keyword.operator.logical.powershell
358358
captures:
359359
1: punctuation.definition.keyword.powershell
@@ -365,7 +365,10 @@ contexts:
365365
scope: keyword.operator.string-format.powershell
366366
captures:
367367
1: punctuation.definition.keyword.powershell
368+
368369
# Symbol operators
370+
- match: \!
371+
scope: keyword.operator.logical.powershell
369372
- match: '[+/*%-]?='
370373
scope: keyword.operator.assignment.powershell
371374
- match: (?:\+\+|--)(?![ \t]*\d|[[:alpha:]])

0 commit comments

Comments
 (0)