File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 311
311
</dict >
312
312
<dict >
313
313
<key >match </key >
314
- <string >(?< !\w)-(?i:band|bor|bnot|bxor)(?!\p{L}) </string >
314
+ <string >(?< !\w)-(?i:band|bor|bnot|bxor|shl|shr )(?!\p{L}) </string >
315
315
<key >name </key >
316
316
<string >keyword.operator.bitwise.powershell </string >
317
317
</dict >
Original file line number Diff line number Diff line change @@ -1004,6 +1004,14 @@ $x = $y -band $x
1004
1004
$z = -bnot $x
1005
1005
# ^ keyword.operator.assignment.powershell
1006
1006
# ^ keyword.operator.bitwise.powershell
1007
+ $l = 1 -shl 10
1008
+ # ^ keyword.operator.assignment.powershell
1009
+ # ^ ^^ constant.numeric.integer.powershell
1010
+ # ^ keyword.operator.bitwise.powershell
1011
+ $r = 10 -shr 1
1012
+ # ^ keyword.operator.assignment.powershell
1013
+ # ^^ ^ constant.numeric.integer.powershell
1014
+ # ^ keyword.operator.bitwise.powershell
1007
1015
$k = $y -xor $b
1008
1016
# ^ keyword.operator.assignment.powershell
1009
1017
# ^ keyword.operator.logical.powershell
You can’t perform that action at this time.
0 commit comments