Sublime Forum

Syntax highlighting bug

#1

The Python syntax highlighting is broken on one of my files. It appears that it doesn’t handle complicated string literals correctly.

Attached is a screenshot of an example.


0 Likes

#2

Bump.

Any progress on this? I was planning to buy Sublime Text, but seeing bugs like this languish for months with no response is making me reconsider.

P.S. This is on Windows 7 32bit, Sublime Text version 2.01 build 2217

0 Likes

#3

Is there any way I can fix this myself and then give the corrected syntax file back?

0 Likes

#4

Yes, presumably you’d edit Packages/Python/Python.tmLanguage.

Not sure about your chances of getting it upstream… Here’s a HAML fix I made that’s currently languishing: How to submit a HAML improvement?

0 Likes