If you choose python 3 and just have a return statement that is just "return" as opposed to say "return foo" the "return" is not highlighted fortunately I fixed this by just adding a space so it's not a huge deal. However if you choose python (not python 3) this doesn't happen and a line that just says "return" correctly gets colored.
Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Checklist
Please replace the space inside the brackets with an x if the following items apply:
[ ] I've restarted Anki to see if it helps
[ ] I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
[ ] I've tried to disable other add-ons to see if there are any interactions present
[ ] My issue disappears when I hold shift while starting Anki.
[ ] I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.
Information about your Anki set-up
Please fill out the section corresponding with your Anki version:
If you are using Anki 2.1
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
If you are using Anki 2.0
Please open Anki, go to Help → About, find the two lines starting with Version: and Qt, and copy-paste them between the backticks below:
Please fill in details about your operating system (Windows/macOS/Linux, which version):
OS:
version:
Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below:
Problem description
If you choose python 3 and just have a return statement that is just "return" as opposed to say "return foo" the "return" is not highlighted fortunately I fixed this by just adding a space so it's not a huge deal. However if you choose python (not python 3) this doesn't happen and a line that just says "return" correctly gets colored. Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Information about your Anki set-up
Please fill out the section corresponding with your Anki version:
If you are using Anki 2.1
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
If you are using Anki 2.0
Please open Anki, go to Help → About, find the two lines starting with
Version:
andQt
, and copy-paste them between the backticks below:Please fill in details about your operating system (Windows/macOS/Linux, which version):
Please open Anki, go to Tools → Add-ons, take a screenshot of your installed add-ons, and paste it below:
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below: