visual-studio-code
visual-studio-code copied to clipboard
Python: wrong highlighting of math text in raw strings
The issue is related to the use of so-called "math text" in matplotlib. Namely, when you try to input some TeX code inside a raw string, it considers backslashed commands as an escaped symbol.
Below are the examples (see lines 9 and 11 in the screenshots).
Dracula v2.24.0

Nord v0.19.0

Atom One Dark v2.2.3

TIA