[Github-comments] [geany/geany] async/await is not highlighted in Python code (#1351)

Enrico Tröger notifications at xxxxx
Wed Dec 28 22:14:31 UTC 2016


Patch to Scintilla isn't necessary. The list of keywords is maintained in Geany. If you wish, you could create a patch for Scite but this is out of scope of this project :).

Back to Geany: we have a script to automatically update the Python keywords which basicalls asks the Python `keyword` module for known keywords:
```python
from keyword import kwlist
print("\n".join(kwlist))
```
(source: https://github.com/geany/geany/blob/master/scripts/update-python-identifiers.sh#L29)

However, the Python `keyword` module doesn't know `await` and `async` neither (source: https://hg.python.org/cpython/file/3.6/Lib/keyword.py). So, maybe this is the root thing to fix first.
Would you mind reporting this to the Python guys?

Thanks Miro.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1351#issuecomment-269549662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161228/f485ffed/attachment.html>


More information about the Github-comments mailing list