File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 3881
3881
<key >1 </key >
3882
3882
<dict >
3883
3883
<key >name </key >
3884
- <string >keyword.operator.arithmetic.unary.increment.powershell </string >
3884
+ <string >keyword.operator.arithmetic.postfix. unary.increment.powershell </string >
3885
3885
</dict >
3886
3886
<key >2 </key >
3887
3887
<dict >
3888
3888
<key >name </key >
3889
- <string >keyword.operator.arithmetic.unary.decrement.powershell </string >
3889
+ <string >keyword.operator.arithmetic.postfix. unary.decrement.powershell </string >
3890
3890
</dict >
3891
3891
</dict >
3892
3892
</dict >
3904
3904
<key >1 </key >
3905
3905
<dict >
3906
3906
<key >name </key >
3907
- <string >keyword.operator.arithmetic.unary.increment.powershell </string >
3907
+ <string >keyword.operator.arithmetic.prefix. unary.increment.powershell </string >
3908
3908
</dict >
3909
3909
<key >2 </key >
3910
3910
<dict >
3911
3911
<key >name </key >
3912
- <string >keyword.operator.arithmetic.unary.decrement.powershell </string >
3912
+ <string >keyword.operator.arithmetic.prefix. unary.decrement.powershell </string >
3913
3913
</dict >
3914
3914
</dict >
3915
3915
<key >end </key >
3943
3943
<key >name </key >
3944
3944
<string >keyword.operator.bitwise.unary.bnot.powershell </string >
3945
3945
</dict >
3946
- <key >4 </key >
3946
+ <key >3 </key >
3947
3947
<dict >
3948
3948
<key >name </key >
3949
- <string >keyword.operator.logical .unary.not .powershell </string >
3949
+ <string >keyword.operator.arithmetic .unary.negate .powershell </string >
3950
3950
</dict >
3951
- <key >3 </key >
3951
+ <key >4 </key >
3952
3952
<dict >
3953
3953
<key >name </key >
3954
- <string >keyword.operator.arithmetic .unary.negate .powershell </string >
3954
+ <string >keyword.operator.logical .unary.not .powershell </string >
3955
3955
</dict >
3956
3956
</dict >
3957
3957
<key >end </key >
3980
3980
<key >include </key >
3981
3981
<string >#operators_postUnary </string >
3982
3982
</dict >
3983
- <dict >
3984
- <key >include </key >
3985
- <string >#operators_preUnary </string >
3986
- </dict >
3987
3983
<dict >
3988
3984
<key >begin </key >
3989
3985
<string >[\x{2013}-\x{2015}-](?i:is(?:not)?|as)(?!\p{L}) </string >
4079
4075
</dict >
4080
4076
<dict >
4081
4077
<key >begin </key >
4082
- <string >[\x{2013}-\x{2015}-]((?i:and|or|not| xor))(?!\p{L}) </string >
4078
+ <string >[\x{2013}-\x{2015}-]((?i:and|or|xor))(?!\p{L}) </string >
4083
4079
<key >beginCaptures </key >
4084
4080
<dict >
4085
4081
<key >0 </key >
4193
4189
</dict >
4194
4190
<dict >
4195
4191
<key >begin </key >
4196
- <string >[+%*/\x{2013}-\x{2015}-] </string >
4192
+ <string >[+%*/]|[ \x{2013}-\x{2015}-](?![\p{L}\x{2013}-\x{2015}-]) </string >
4197
4193
<key >beginCaptures </key >
4198
4194
<dict >
4199
4195
<key >0 </key >
4255
4251
</dict >
4256
4252
</array >
4257
4253
</dict >
4254
+ <dict >
4255
+ <key >comment </key >
4256
+ <string >included last only because preunary also includes the negate `!` and `-b?not` operators </string >
4257
+ <key >include </key >
4258
+ <string >#operators_preUnary </string >
4259
+ </dict >
4258
4260
</array >
4259
4261
</dict >
4260
4262
<key >notCode </key >
You can’t perform that action at this time.
0 commit comments