How to fix no highlight for "async" "await" keywords | VSCode

Viewed 929

For some reason async and await keywords are not highlighted. "Python" and "Python for VSCode" are installed and globally enabled. I even tried to install "MagicPython" but it did not make a difference

Linter successfully detects errors such as "await allowed only with async function" (check the image below)

enter image description here

1 Answers

It's may be caused by some extension you have installed. In my situation, I disabled the "Python for VSCode" extension and reload vscode, it worked.

Related