Sublime Forum

Python syntax highlight "bug" after update

#1

Hello,

after updating (don’t remember which build), I’m having an issue with Python syntax highlighting, as you can see on the screenshot attached.

Apparently, there is some mistake with the reserved word for and variable names starting with “for”.

TIA.

P.S.: Sorry for my English. Still learning, :sweat:.

0 Likes

#2

confirmed on build 3197, please report it at https://github.com/sublimehq/Packages/issues
ideally with the code in a copy/pasteable text format :wink:

1 Like

#3

Thanks for reporting the issue, I created a PR to fix it : https://github.com/sublimehq/Packages/pull/1896 .

0 Likes

#4

That was fast!!

Thank you :slight_smile:.

0 Likes