Python 3 syntax isn't correctly highlighted
Whenever I open a Python file, modern keywords such as await
or nonlocal
aren't properly highlighted. The reason for this seems to be that it defaults to Python 2 syntax. I found !199 (merged). But that MR unfortunately doesn't look like it succeeded in changing the default, just changing the naming.
Seen in both gedit and GNOME text editor.
- gtksourceview3-3.24.11-9.fc38.x86_64
- gtksourceview4-4.8.4-2.fc38.x86_64
- gtksourceview5-5.8.0-1.fc38.x86_64
- gedit-44.2-1.fc38.x86_64
- gnome-text-editor-44.0-1.fc38.x86_64