mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] Highlight minus-equal, plus-equal as operators
This commit is contained in:
@@ -30,6 +30,9 @@ static inline KDColor TokenColor(mp_token_kind_t tokenKind) {
|
||||
if (tokenKind >= MP_TOKEN_OP_PLUS && tokenKind <= MP_TOKEN_OP_NOT_EQUAL) {
|
||||
return OperatorColor;
|
||||
}
|
||||
if (tokenKind >= MP_TOKEN_DEL_EQUAL && tokenKind <= MP_TOKEN_DEL_MINUS_MORE) {
|
||||
return OperatorColor;
|
||||
}
|
||||
return KDColorBlack;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user