atom / language-python

Python package for Atom
Other
190 stars 146 forks source link

Some augmented assignment operators not highlighted properly #337

Open Snaptraks opened 2 years ago

Snaptraks commented 2 years ago

Prerequisites

Description

Some augmented assignment operators are not highlighted properly (at all).

Steps to Reproduce

  1. Operators &=, |=, ^=. >>=, <<= and := (though not technically an augmented operator) are not highlighted. Other common operators (such as +=) are highlighted correctly.

Expected behavior:

All augmented assignment operators to be highlighted.

Actual behavior:

Some operators are not highlighted.

Reproduces how often:

100% of the time (with my testing)

Versions

atom --version:

Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

apm --version:

apm  2.6.2
npm  6.14.13
node 12.14.1 x64
atom 1.58.0
python 3.9.7
git 2.25.0.windows.1
visual studio 2019

Additional Information

Screenshot in safe mode: image