atom / language-python

Python package for Atom
Other
190 stars 146 forks source link

Python syntax highlighting: Import line is red #241

Closed silentsokolov closed 5 years ago

silentsokolov commented 6 years ago

Prerequisites

Description

Import line uncolored in one case, and red in the next.

Steps to Reproduce

  1. Open any python file

Expected behavior: Import line uncolored

Actual behavior: Import line uncolored in one case, and red in the next.

Reproduces how often: All time

Versions

Atom : 1.25.0 Electron: 1.7.11 Chrome : 58.0.3029.110 Node : 7.9.0

Additional Information

I do not use Tree-sitter Parsers

1521530272849

cscanlin commented 6 years ago

Seeing a similar issue, it appears to be related to . characters applying styles that they should not be.

screen shot 2018-03-20 at 9 17 28 am
silentsokolov commented 6 years ago

I rollback to Atom 1.24.0, that's how it looked before the update.

jarekwg commented 6 years ago

Yep. As of atom 1.25.0, my imports (amongst other broken things) are highlighting differently depending on whether they have a . in them. Should always just be white there.. image

Definitely . related.