When coding in Python and chaining multiple method calls in Atom I use the \ character in order to break it up over multiple lines to keep the overall line length down. However Atom’s syntax highlighting is way off when doing so, even though it is valid Python code.
For example, when in a single line (Django queryset):
Looks fine but is way too long. The correct format for our style guidelines would be:
As you can see the coloring is completely different and looks wrong, even though it’s totally valid code
Has anyone ran into this issue and knows a fix? Perhaps a package that resolved it? Any help much appreciated as it’s causing headaches with code reviews.