<p>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 :).</p>
<p>Back to Geany: we have a script to automatically update the Python keywords which basicalls asks the Python <code>keyword</code> module for known keywords:</p>
<div class="highlight highlight-source-python"><pre><span class="pl-k">from</span> keyword <span class="pl-k">import</span> kwlist
<span class="pl-c1">print</span>(<span class="pl-s"><span class="pl-pds">"</span><span class="pl-cce">\n</span><span class="pl-pds">"</span></span>.join(kwlist))</pre></div>
<p>(source: <a href="https://github.com/geany/geany/blob/master/scripts/update-python-identifiers.sh#L29">https://github.com/geany/geany/blob/master/scripts/update-python-identifiers.sh#L29</a>)</p>
<p>However, the Python <code>keyword</code> module doesn't know <code>await</code> and <code>async</code> neither (source: <a href="https://hg.python.org/cpython/file/3.6/Lib/keyword.py">https://hg.python.org/cpython/file/3.6/Lib/keyword.py</a>). So, maybe this is the root thing to fix first.<br>
Would you mind reporting this to the Python guys?</p>
<p>Thanks Miro.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1351#issuecomment-269549662">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ8Jgt8bTbd5bBJu6WtcpdHX2Kzuyks5rMt9HgaJpZM4LXASw">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_EH02lCnkmFb2Ue2ExAvE25gP_4ks5rMt9HgaJpZM4LXASw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1351#issuecomment-269549662"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@eht16 in #1351: 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 :).\r\n\r\nBack to Geany: we have a script to automatically update the Python keywords which basicalls asks the Python `keyword` module for known keywords:\r\n```python\r\nfrom keyword import kwlist\r\nprint(\"\\n\".join(kwlist))\r\n```\r\n(source: https://github.com/geany/geany/blob/master/scripts/update-python-identifiers.sh#L29)\r\n\r\nHowever, 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.\r\nWould you mind reporting this to the Python guys?\r\n\r\nThanks Miro."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1351#issuecomment-269549662"}}}</script>