Add support for more python operators (#33720)

Closes: https://github.com/zed-industries/zed/issues/33683

| Before | After |
| - | - |
| <img width="571" alt="Screenshot 2025-07-01 at 11 42 56"
src="https://github.com/user-attachments/assets/5ef79304-37bb-42a1-8891-d19a55a5095e"
/> | <img width="592" alt="Screenshot 2025-07-01 at 11 44 45"
src="https://github.com/user-attachments/assets/f28aa2a8-6306-4294-86e1-8f089f57b825"
/> |

Release Notes:

- python: Properly highlight additional operators ("&=", "<<=", ">>=",
"@=", "^=" and "|=")
This commit is contained in:
Peter Tripp 2025-07-01 12:12:46 -04:00 committed by GitHub
parent 31b7786be7
commit 274f2e90da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,6 +226,12 @@
">>"
"|"
"~"
"&="
"<<="
">>="
"@="
"^="
"|="
] @operator
[