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 311311 </dict >
312312 <dict >
313313 <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 >
315315 <key >name </key >
316316 <string >keyword.operator.bitwise.powershell </string >
317317 </dict >
Original file line number Diff line number Diff line change @@ -1004,6 +1004,14 @@ $x = $y -band $x
10041004$z = -bnot $x
10051005# ^ keyword.operator.assignment.powershell
10061006# ^ 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
10071015$k = $y -xor $b
10081016# ^ keyword.operator.assignment.powershell
10091017# ^ keyword.operator.logical.powershell
You can’t perform that action at this time.
0 commit comments