<p><b>@Akronix</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/geany/geany/pull/1361">data/filedefs/filetypes.javascript</a>:</p>
<pre style='color:#555'>> @@ -3,8 +3,8 @@
[keywords]
# all items must be in one line
-primary=break case catch class const continue default delete do each else extends false finally for function get if in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype
-secondary=Array Boolean Date Function Math Number Object String RegExp EvalError Error RangeError ReferenceError SyntaxError TypeError URIError constructor prototype decodeURI decodeURIComponent encodeURI encodeURIComponent eval isFinite isNaN parseFloat parseInt
+primary=break case catch class const continue debugger default delete do else enum export extends false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var void while with yield prototype async await
</pre>
<p>It's because async/await expressions <a href="https://tc39.github.io/ecmascript-asyncawait/#async-function-definitions">are in the draft for ES2017</a> but <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function">await expressions have to be inside an async function</a>. Many browsers already support it: Chrome, Firefox and Opera, and Babel compile it to legacy code for other platforms; so people can already program using async/await of ES7, and people actually do.<br>
I've checked that other tools highlight the word: Atom, Chrome Dev Tools,...</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/pull/1361">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJwtf0h8ASZ9lWukX-PCNxqXpAr5Kks5rSQwkgaJpZM4LhI5G">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7fLsuD5p-2IqNlgqr4xE__i5k1iks5rSQwkgaJpZM4LhI5G.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/pull/1361"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request 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":"@Akronix commented on #1361"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1361"}}}</script>